master
Aevann1 2021-08-25 19:38:37 +02:00
parent 0a1e55106b
commit 6e0fe109d7
1 changed files with 1 additions and 2 deletions

View File

@ -469,8 +469,7 @@ def api_comment(v):
for x in notify_users: for x in notify_users:
n = Notification(comment_id=c.id, user_id=x) n = Notification(comment_id=c.id, user_id=x)
g.db.add(n) g.db.add(n)
try: g.db.flush() g.db.flush()
except: g.db.rollback()
if parent.author.id != v.id: if parent.author.id != v.id:
try: try: