master
Aevann1 2022-04-29 16:47:34 +02:00
parent 4ee8d15e2a
commit 08ed7b044b
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ def messagereply(v):
if c.top_comment.sentto == 2:
ids = [x.id for x in c.top_comment.replies] + c.top_comment.id
ids = [x.id for x in c.top_comment.replies] + [c.top_comment.id]
notifications = g.db.query(Notification).filter(Notification.comment_id.in_(ids))
for n in notifications:
g.db.delete(n)