diff --git a/nostr.ts b/nostr.ts index b2dc6f3..b7b10df 100644 --- a/nostr.ts +++ b/nostr.ts @@ -53,7 +53,7 @@ export function getTags(event: Event): Tags { } else if (tag[3] == "root") { const [_1, EventID, RelayURL, _2] = tag; tags.root = [EventID, RelayURL as string, "root"]; - } else { + } else if (tag[1] != "") { tags.e.push(tag[1]); } break;