From 9e847c17f968076287025c798b87506a8d50bb93 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Dec 2021 14:27:32 +0100 Subject: No notification on moderator abuse --- server/lib/activitypub/process/process-flag.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'server/lib/activitypub') diff --git a/server/lib/activitypub/process/process-flag.ts b/server/lib/activitypub/process/process-flag.ts index 7ed409d0e..fd3e46e2b 100644 --- a/server/lib/activitypub/process/process-flag.ts +++ b/server/lib/activitypub/process/process-flag.ts @@ -75,7 +75,8 @@ async function processCreateAbuse (activity: ActivityCreate | ActivityFlag, byAc endAt, reporterAccount, transaction: t, - videoInstance: video + videoInstance: video, + skipNotification: false }) } @@ -84,7 +85,8 @@ async function processCreateAbuse (activity: ActivityCreate | ActivityFlag, byAc baseAbuse, reporterAccount, transaction: t, - commentInstance: videoComment + commentInstance: videoComment, + skipNotification: false }) } @@ -92,7 +94,8 @@ async function processCreateAbuse (activity: ActivityCreate | ActivityFlag, byAc baseAbuse, reporterAccount, transaction: t, - accountInstance: flaggedAccount + accountInstance: flaggedAccount, + skipNotification: false }) }) } catch (err) { -- cgit v1.2.3