forked from rDrama/rDrama
fdfd
parent
0a1e55106b
commit
6e0fe109d7
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue