mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix: mcp and desktop communication (#18)
This commit is contained in:
@@ -122,7 +122,13 @@ class RelayClient {
|
||||
const event = await signRelayEvent({
|
||||
kind: 40001,
|
||||
content: content.trim(),
|
||||
tags: [["e", channelId]],
|
||||
// Include both tags for now:
|
||||
// - `channel` lets the relay persist and authorize the event as channel-scoped
|
||||
// - `e` keeps the existing desktop WebSocket history/subscription filters working
|
||||
tags: [
|
||||
["channel", channelId],
|
||||
["e", channelId],
|
||||
],
|
||||
});
|
||||
|
||||
return new Promise<RelayEvent>((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user