forked from rDrama/rDrama
give me push notifs for direct replies
parent
0a8bb14c64
commit
0bc727a6e1
|
@ -330,8 +330,7 @@ def comment(v:User):
|
||||||
if len(c.body) > PUSH_NOTIF_LIMIT: notifbody = c.body[:PUSH_NOTIF_LIMIT] + '...'
|
if len(c.body) > PUSH_NOTIF_LIMIT: notifbody = c.body[:PUSH_NOTIF_LIMIT] + '...'
|
||||||
else: notifbody = c.body
|
else: notifbody = c.body
|
||||||
|
|
||||||
if parent_user.id != AEVANN_ID:
|
push_notif({parent_user.id}, title, notifbody, c)
|
||||||
push_notif({parent_user.id}, title, notifbody, c)
|
|
||||||
|
|
||||||
vote = CommentVote(user_id=v.id,
|
vote = CommentVote(user_id=v.id,
|
||||||
comment_id=c.id,
|
comment_id=c.id,
|
||||||
|
|
Loading…
Reference in New Issue