fix: do not show "signed up" notifications in mentions tab (#2203)

Partially addresses #2199
This commit is contained in:
Nolan Lawson 2022-11-18 09:32:54 -08:00 committed by GitHub
parent 52880a4689
commit fb5478cd06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export async function getTimeline (instanceName, accessToken, timeline, maxId, s
} }
if (timeline === 'notifications/mentions') { if (timeline === 'notifications/mentions') {
params.exclude_types = ['follow', 'favourite', 'reblog', 'poll'] params.exclude_types = ['follow', 'favourite', 'reblog', 'poll', 'admin.sign_up']
} }
url += '?' + paramsString(params) url += '?' + paramsString(params)