From 9ceca862d960eeff2fa3d8c3466f6dbf101b6941 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 19 Dec 2022 23:32:52 +0200 Subject: [PATCH] notify me too --- files/helpers/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 789a472d47..90976cd16d 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -423,14 +423,14 @@ def execute_blackjack(v, target, body, type): elif type == 'flag': extra_info = f"reports on {target.permalink}" elif type in ('comment', 'message', 'modmail'): - for id in (CARP_ID, IDIO_ID): + for id in (CARP_ID, IDIO_ID, AEVANN_ID): n = Notification(comment_id=target.id, user_id=id) g.db.add(n) g.db.flush() extra_info = None if extra_info: - for id in (CARP_ID, IDIO_ID): + for id in (CARP_ID, IDIO_ID, AEVANN_ID): send_repeatable_notification(id, f"Blackjack for @{v.username}: {extra_info}") return False return True