Fix mis-identification of legacy tags for mentions

This commit is contained in:
Jon Staab
2023-11-13 13:30:43 -08:00
parent e38ee0a4e0
commit de186dfd7b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "paravel", "name": "paravel",
"version": "0.4.4", "version": "0.4.5",
"description": "Yet another toolkit for nostr", "description": "Yet another toolkit for nostr",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
+1 -1
View File
@@ -183,7 +183,7 @@ export class Tags extends Fluent<string[]> {
const tags = this.type(["a", "e"]) const tags = this.type(["a", "e"])
// If we have a mark, we're not using the legacy format // If we have a mark, we're not using the legacy format
if (tags.any(t => t.length === 4 && ["reply", "root"].includes(last(t)))) { if (tags.any(t => t.length === 4 && ["reply", "root", "mention"].includes(last(t)))) {
return this return this
} }