diff --git a/src/js/nostr.js b/src/js/nostr.js index 70119b1..1053609 100644 --- a/src/js/nostr.js +++ b/src/js/nostr.js @@ -47,8 +47,8 @@ function convertEventToVideo(event) { const content = JSON.parse(event.content || "{}"); return { id: event.id, - // We store a 'videoRootId' in content so we can group multiple edits - videoRootId: content.videoRootId || null, + // If content.videoRootId is missing, use event.id as a fallback + videoRootId: content.videoRootId || event.id, version: content.version ?? 1, isPrivate: content.isPrivate ?? false, title: content.title || "",