mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Fix NIP-56 report tag ordering
This commit is contained in:
1 parent
0d4a474026
commit
174ee0242e
2 files changed
+7
-4
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user