forked from rDrama/rDrama
fdfd
parent
6e0fe109d7
commit
ecadd159f5
|
@ -465,7 +465,7 @@ def api_comment(v):
|
||||||
continue
|
continue
|
||||||
if user.id != v.id:
|
if user.id != v.id:
|
||||||
notify_users.add(user.id)
|
notify_users.add(user.id)
|
||||||
|
if v.id == 1: print(notify_users)
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue