This commit is contained in:
Crimekillz 2024-03-26 16:55:03 +01:00
parent d09ffc4b1c
commit 288f68bc58

View File

@ -25,7 +25,7 @@ export async function createNotification(
if (
data.notifierId &&
["mention", "reply", "renote", "quote", "reaction", "bite", "pollVote"].includes(type)
["mention", "reply", "renote", "quote", "reaction", "bite"].includes(type)
) {
const notifier = await Users.findOneBy({ id: data.notifierId });
// suppress if the notifier does not exist or is silenced.