Revert ccae810d60

This commit is contained in:
root 2024-03-26 16:40:01 +01:00
parent fe05ceca1f
commit dc14c5379a

View File

@ -25,7 +25,7 @@ export async function createNotification(
if ( if (
data.notifierId && 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 }); const notifier = await Users.findOneBy({ id: data.notifierId });
// suppress if the notifier does not exist or is silenced. // suppress if the notifier does not exist or is silenced.