mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
Revert ccae810d60
This commit is contained in:
parent
fe05ceca1f
commit
6ca8a4de8b
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user