mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-06-08 21:59:15 +02:00
feat: add voice message support (NIP-A0) and legacy video kinds
- Add VoiceMessageRenderer for kinds 1222 (voice message) and 1244 (voice reply) - Add compact preview components with mic icon for voice messages - Support legacy NIP-71 video kinds 34235/34236 via existing video renderers - Add fallback URL tag parsing for video events - Replace music note icon with mic icon for audio embeds - Remove border/padding from audio player for cleaner display - Add kind metadata (names, icons) for voice and legacy video kinds 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1343,6 +1343,20 @@ export const EVENT_KINDS: Record<number | string, EventKind> = {
|
||||
// nip: "",
|
||||
// icon: AppWindow,
|
||||
// },
|
||||
34235: {
|
||||
kind: 34235,
|
||||
name: "Video",
|
||||
description: "Horizontal Video (legacy)",
|
||||
nip: "71",
|
||||
icon: Video,
|
||||
},
|
||||
34236: {
|
||||
kind: 34236,
|
||||
name: "Short Video",
|
||||
description: "Vertical Video (legacy)",
|
||||
nip: "71",
|
||||
icon: Video,
|
||||
},
|
||||
34550: {
|
||||
kind: 34550,
|
||||
name: "Community",
|
||||
|
||||
Reference in New Issue
Block a user