diff --git a/package.json b/package.json index 601a756..ea3d466 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paravel", - "version": "0.5.2", + "version": "0.5.3", "description": "Yet another toolkit for nostr", "author": "hodlbod", "license": "MIT", diff --git a/src/util/Tags.ts b/src/util/Tags.ts index e24d5f6..5d164e7 100644 --- a/src/util/Tags.ts +++ b/src/util/Tags.ts @@ -91,7 +91,9 @@ export class Tags extends (Fluent as OmitStatics, 'from' tags .forEach((t: Tag, i: number) => { - if (t.mark() === 'root') { + if (t.key() === "q") { + mentions.push(t.valueOf()) + } else if (t.mark() === 'root') { roots.push(t.valueOf()) } else if (t.mark() === 'reply') { replies.push(t.valueOf())