mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 07:27:23 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user