Fix quotes being mis-labeled as replies
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "paravel",
|
||||
"version": "0.5.2",
|
||||
"version": "0.5.3",
|
||||
"description": "Yet another toolkit for nostr",
|
||||
"author": "hodlbod",
|
||||
"license": "MIT",
|
||||
|
||||
+3
-1
@@ -91,7 +91,9 @@ export class Tags extends (Fluent<Tag> as OmitStatics<typeof Fluent<Tag>, '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())
|
||||
|
||||
Reference in New Issue
Block a user