mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Revert ccae810d60
This commit is contained in:
parent
d09ffc4b1c
commit
288f68bc58
@ -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