Revert "notify idio3 too"

This reverts commit ee264631b9.
master
Aevann 2022-12-27 04:10:22 +02:00
parent ee264631b9
commit 68673292c1
1 changed files with 3 additions and 3 deletions

View File

@ -379,7 +379,7 @@ def execute_blackjack(v, target, body, type):
elif hasattr(target, 'is_banned'):
target.is_banned = True
if CARP_ID and AEVANN_ID and IDIO_ID:
if CARP_ID and AEVANN_ID:
extra_info = "unknown entity"
if type == 'submission':
@ -391,14 +391,14 @@ def execute_blackjack(v, target, body, type):
elif type == 'modmail':
extra_info = "modmail"
elif type in {'comment', 'message'}:
for id in (CARP_ID, AEVANN_ID, IDIO_ID):
for id in (CARP_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, AEVANN_ID, IDIO_ID):
for id in (CARP_ID, AEVANN_ID):
send_repeatable_notification(id, f"Blackjack for @{v.username}: {extra_info}")
return False
return True