Fix NIP-56 report tag ordering

This commit is contained in:
thePR0M3TH3AN committed 2025-10-29 21:53:06 -04:00
1 parent 0d4a474026
commit 174ee0242e
2 files changed
+7 -4

No files matched your search

+1 -2
View File
@@ -2153,11 +2153,10 @@ export class ModerationService {
const sanitizedRelayHint =
typeof relayHint === "string" ? relayHint.trim() : "";
const eventTag = ["e", normalizedEventId];
const eventTag = ["e", normalizedEventId, normalizedType];
if (sanitizedRelayHint) {
eventTag.push(sanitizedRelayHint);
}
eventTag.push(normalizedType);
const tags = [
eventTag,