From b1354519baeb0cabcb23108c1ad6e7790e458188 Mon Sep 17 00:00:00 2001 From: BlowaterNostr Date: Fri, 7 Jul 2023 09:28:46 +0000 Subject: [PATCH] fix #33 --- nostr.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;