forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-11-22 19:52:27 +02:00
parent f42a2c0472
commit aecd3968dc
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ def send_notification(uid, text, autojanny=False):
else: author_id = NOTIFICATIONS_ID
existing = g.db.query(Comment.id).filter(Comment.author_id == author_id, Comment.body_html == text_html, Comment.notifiedto == uid).first()
if existing: return
if existing: abort(403)
new_comment = Comment(author_id=author_id,
parent_submission=None,