Add support for q tags

This commit is contained in:
Jon Staab
2024-03-02 04:35:46 -08:00
parent 42245183b6
commit 0c5a5bce9b
+1 -1
View File
@@ -70,7 +70,7 @@ export class Tags extends (Fluent<Tag> as OmitStatics<typeof Fluent<Tag>, 'from'
topics = () => this.whereKey("t").values().map((t: string) => t.replace(/^#/, ""))
ancestors = () => {
const tags = this.filter(t => ["a", "e"].includes(t.key()) && !isContextAddress(t.value()))
const tags = this.filter(t => ["a", "e", "q"].includes(t.key()) && !isContextAddress(t.value()))
const roots: string[][] = []
const replies: string[][] = []
const mentions: string[][] = []