From 44a183dd8456768ca511367a64a02aa84f569866 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 14 Mar 2024 13:41:04 -0400 Subject: [PATCH] fix: typo --- src/activitypub/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js index 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) {