Fix quotes being mis-labeled as replies
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "paravel",
|
"name": "paravel",
|
||||||
"version": "0.5.2",
|
"version": "0.5.3",
|
||||||
"description": "Yet another toolkit for nostr",
|
"description": "Yet another toolkit for nostr",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
+3
-1
@@ -91,7 +91,9 @@ export class Tags extends (Fluent<Tag> as OmitStatics<typeof Fluent<Tag>, 'from'
|
|||||||
|
|
||||||
tags
|
tags
|
||||||
.forEach((t: Tag, i: number) => {
|
.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())
|
roots.push(t.valueOf())
|
||||||
} else if (t.mark() === 'reply') {
|
} else if (t.mark() === 'reply') {
|
||||||
replies.push(t.valueOf())
|
replies.push(t.valueOf())
|
||||||
|
|||||||
Reference in New Issue
Block a user