fds
This commit is contained in:
parent
2c66f596fd
commit
65716a84d0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue