Fix tags reply check

This commit is contained in:
Jon Staab
2024-05-08 12:56:08 -07:00
parent 6e57fa57e6
commit d9e1bb6e9f
+1 -1
View File
@@ -88,7 +88,7 @@ export class Tags extends (Fluent<Tag> as OmitStatics<typeof Fluent<Tag>, 'from'
const dispatchTags = (thisTags: Tags) =>
thisTags.forEach((t: Tag, i: number) => {
if (t.nth(3) === 'root') {
if (thisTags.filter(t => t.nth(3) === "reply").count() === 0) {
if (tags.filter(t => t.nth(3) === "reply").count() === 0) {
replies.push(t.valueOf())
} else {
roots.push(t.valueOf())