From 0bc727a6e1bb857db55d17c350aed9823f857f01 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 25 Feb 2023 20:17:24 +0200 Subject: [PATCH] give me push notifs for direct replies --- files/routes/comments.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 84127c54f..4efbfa5b6 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -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,