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'.
This commit is contained in:
Claude
2026-01-16 11:06:32 +00:00
parent 25c9a5311d
commit 8fa76601ef

View File

@@ -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",
});
}