fix: mcp and desktop communication (#18)

This commit is contained in:
Wes
2026-03-10 16:33:48 -04:00
committed by GitHub
parent 69b36d11dd
commit 4fcc4c35cc
4 changed files with 26 additions and 12 deletions
+7 -1
View File
@@ -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) => {