Node.js based forum software built for the modern web
fix: typo
Julian Lam44a183dd8456
diff --git a/src/activitypub/notes.js b/src/activitypub/notes.jsindex 32563f7626..8716a7945a 100644--- a/src/activitypub/notes.js+++ b/src/activitypub/notes.js@@ -196,7 +196,7 @@ Notes.assertTopic = async (uid, id) => {const systemTags = (meta.config.systemTags || '').split(',');const maxTags = cid > 0 ? await categories.getCategoryField(cid, 'maxTags') : null;tags = (mainPost._activitypub.tag || [])- .filter(o => o.type === 'Hashtag' && !systemTags.include(o.name.slice(1)))+ .filter(o => o.type === 'Hashtag' && !systemTags.includes(o.name.slice(1))).map(o => o.name.slice(1));if (maxTags) {