diff --git a/package.json b/package.json index bd43a0e..f5d2c5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paravel", - "version": "0.4.2", + "version": "0.4.3", "description": "Yet another toolkit for nostr", "author": "hodlbod", "license": "MIT", diff --git a/src/util/nostr.ts b/src/util/nostr.ts index 00aefc0..692cab9 100644 --- a/src/util/nostr.ts +++ b/src/util/nostr.ts @@ -183,7 +183,7 @@ export class Tags extends Fluent { const tags = this.type(["a", "e"]) // If we have a mark, we're not using the legacy format - if (tags.any(t => ["reply", "root"].includes(last(t)))) { + if (tags.any(t => t.length === 4 && ["reply", "root"].includes(last(t)))) { return this }