From 6ca8a4de8bcb435a61cff387bd0836a19161fcc8 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Mar 2024 16:45:14 +0100 Subject: [PATCH] Revert ccae810d60 --- packages/backend/src/services/create-notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/create-notification.ts b/packages/backend/src/services/create-notification.ts index 04cdac397..d89cb8549 100644 --- a/packages/backend/src/services/create-notification.ts +++ b/packages/backend/src/services/create-notification.ts @@ -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.