pull/83/head
Aevann 2022-12-24 01:07:51 +02:00
parent 97476a604e
commit 38247317fd
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ def messagereply(v:User):
execute_blackjack(v, c, c.body_html, 'message')
execute_under_siege(v, c, c.body_html, 'message')
if user_id and user_id not in {v.id, MODMAIL_ID, bots}:
if user_id and user_id not in {v.id, MODMAIL_ID} | bots:
notif = g.db.query(Notification).filter_by(comment_id=c.id, user_id=user_id).one_or_none()
if not notif:
notif = Notification(comment_id=c.id, user_id=user_id)