This commit is contained in:
Aevann1 2022-01-17 21:05:16 +02:00
parent 6e853ff310
commit 935c592613
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ def send_repeatable_notification(uid, text, autojanny=False):
if autojanny: author_id = AUTOJANNY_ID
else: author_id = NOTIFICATIONS_ID
text_html = sanitize(text, alert=True)
text_html = sanitize(text)
existing_comment = g.db.query(Comment.id).filter_by(author_id=author_id, parent_submission=None, distinguish_level=6, body_html=text_html, created_utc=0).first()