From fb5478cd06bcdedda7dbd1a8309f099fae3b0508 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 18 Nov 2022 09:32:54 -0800 Subject: [PATCH] fix: do not show "signed up" notifications in mentions tab (#2203) Partially addresses #2199 --- src/routes/_api/timelines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/_api/timelines.js b/src/routes/_api/timelines.js index 38807ab7..56cec1d5 100644 --- a/src/routes/_api/timelines.js +++ b/src/routes/_api/timelines.js @@ -66,7 +66,7 @@ export async function getTimeline (instanceName, accessToken, timeline, maxId, s } if (timeline === 'notifications/mentions') { - params.exclude_types = ['follow', 'favourite', 'reblog', 'poll'] + params.exclude_types = ['follow', 'favourite', 'reblog', 'poll', 'admin.sign_up'] } url += '?' + paramsString(params)