From 8fa76601efdee8d479ccee8a0a6b709c962fef28 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 16 Jan 2026 11:06:32 +0000 Subject: [PATCH] fix: Use 'open' app ID instead of 'event' for NIP-CC spec link Fixes TypeScript error where 'event' is not a valid AppId. The correct app ID for opening events/addresses is 'open'. --- src/components/ChatViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index 222c56d..ae492f6 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -730,7 +730,7 @@ export function ChatViewer({ addWindow("nip", { number: 53 }); } else if (conversation?.protocol === "communikeys") { // Open NIP-CC specification (communikeys) - addWindow("event", { + addWindow("open", { id: "naddr1qvzqqqrcvypzp22rfmsktmgpk2rtan7zwu00zuzax5maq5dnsu5g3xxvqr2u3pd7qydhwumn8ghj7argv4nx7un9wd6zumn0wd68yvfwvdhk6tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsqrrrdakk6atwdykkketewvsrwsq9", }); }