Include event pointer tags for reactions

This commit is contained in:
thePR0M3TH3AN committed 2025-10-29 22:14:20 -04:00
1 parent 5173553f92
commit 41d751904f
4 files changed
+303 -18

No files matched your search

+12 -1
View File
@@ -42,7 +42,18 @@ export function resolveVideoPointer({
for (const pointer of pointerCandidates) {
const key = pointerArrayToKey(pointer);
if (key) {
return { pointer, key };
const pointerEventId =
pointer[0] === "e" && typeof pointer[1] === "string"
? pointer[1].trim()
: fallbackId;
return {
pointer,
key,
eventId:
typeof pointerEventId === "string" && pointerEventId
? pointerEventId
: "",
};
}
}