This commit is contained in:
Aevann1 2021-10-27 03:09:08 +02:00
parent f201b77921
commit 338a5213bc
2 changed files with 5 additions and 5 deletions

View file

@ -523,7 +523,7 @@ def api_comment(v):
notify_users.add(user.id)
if request.host == 'rdrama.net' and 'aevann' in body_html.lower() and 1 not in notify_users:
notify_users.append(1)
notify_users.add(1)
for x in notify_users:
n = Notification(comment_id=c.id, user_id=x)
@ -758,7 +758,7 @@ def edit_comment(cid, v):
if user.id != v.id:
notify_users.add(user.id)
if request.host == 'rdrama.net' and 'aevann' in body_html.lower() and 1 not in notify_users: notify_users.append(1)
if request.host == 'rdrama.net' and 'aevann' in body_html.lower() and 1 not in notify_users: notify_users.add(1)
for x in notify_users:
notif = notifs.filter_by(comment_id=c.id, user_id=x).first()