Add settings for filtering end-of-poll notifications

Ref: poll-notif
This commit is contained in:
Tusooa Zhu 2022-05-20 16:41:45 -04:00
parent a4b6a97b1b
commit a35daceb5b
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
4 changed files with 17 additions and 2 deletions

View file

@ -15,7 +15,7 @@ export const visibleTypes = store => {
rootState.config.notificationVisibility.followRequest && 'follow_request',
rootState.config.notificationVisibility.moves && 'move',
rootState.config.notificationVisibility.emojiReactions && 'pleroma:emoji_reaction',
'poll'
rootState.config.notificationVisibility.polls && 'poll'
].filter(_ => _))
}