mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Do not notify me if a silenced user has voted on my polls
This commit is contained in:
parent
02cf0ef3eb
commit
ccae810d60
@ -25,7 +25,7 @@ export async function createNotification(
|
||||
|
||||
if (
|
||||
data.notifierId &&
|
||||
["mention", "reply", "renote", "quote", "reaction", "bite"].includes(type)
|
||||
["mention", "reply", "renote", "quote", "reaction", "bite", "pollVote"].includes(type)
|
||||
) {
|
||||
const notifier = await Users.findOneBy({ id: data.notifierId });
|
||||
// suppress if the notifier does not exist or is silenced.
|
||||
|
Loading…
Reference in New Issue
Block a user