From f22c9b8efa02094ebd4c751c33bdd66f80537340 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Jan 2026 20:57:43 +0000 Subject: [PATCH] feat(chat): add kind 1 and 1111 to CHAT_KINDS Include short text notes (kind 1) for thread replies and NIP-22 comments (kind 1111) in the list of chat kinds for reply preview filtering. https://claude.ai/code/session_01UVWkuuWCFtUngYjcd1YEVB --- src/types/chat.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/chat.ts b/src/types/chat.ts index 39228f2..c475b8a 100644 --- a/src/types/chat.ts +++ b/src/types/chat.ts @@ -6,7 +6,9 @@ import type { EventPointer, AddressPointer } from "nostr-tools/nip19"; * Used for filtering and validating chat-related events */ export const CHAT_KINDS = [ + 1, // NIP-01: Short text notes (thread replies) 9, // NIP-29: Group chat messages + 1111, // NIP-22: Comments 9321, // NIP-61: Nutzaps (ecash zaps in groups/live chats) 1311, // NIP-53: Live chat messages 9735, // NIP-57: Zap receipts (part of chat context)