Fix mis-identification of legacy tags for mentions

This commit is contained in:
Jon Staab
2023-11-13 13:30:43 -08:00
parent e38ee0a4e0
commit de186dfd7b
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 => t.length === 4 && ["reply", "root"].includes(last(t)))) {
if (tags.any(t => t.length === 4 && ["reply", "root", "mention"].includes(last(t)))) {
return this
}