give me push notifs for direct replies

pull/134/head
Aevann 2023-02-25 20:17:24 +02:00
parent 0a8bb14c64
commit 0bc727a6e1
1 changed files with 1 additions and 2 deletions

View File

@ -330,8 +330,7 @@ def comment(v:User):
if len(c.body) > PUSH_NOTIF_LIMIT: notifbody = c.body[:PUSH_NOTIF_LIMIT] + '...'
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,
comment_id=c.id,