Add stricter check for legacy tags

This commit is contained in:
Jon Staab
2023-11-10 22:57:56 -08:00
parent 63e14542ff
commit b23d69ff16
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ export class Tags extends Fluent<string[]> {
const tags = this.type(["a", "e"])
// If we have a mark, we're not using the legacy format
if (tags.any(t => ["reply", "root"].includes(last(t)))) {
if (tags.any(t => t.length === 4 && ["reply", "root"].includes(last(t)))) {
return this
}