From e08e2ce1c92e8e38611e06fe4533809dcea23552 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 20 Dec 2022 05:03:43 +0200 Subject: [PATCH] fix wall push notif url that JC broke --- files/routes/comments.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/comments.py b/files/routes/comments.py index c9c0b970a..2953ea3f0 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -311,6 +311,8 @@ def comment(v:User): else: notifbody = c.body url = f'{SITE_FULL}/comment/{c.id}?read=true#context' + if not posting_to_submission: + url = f'{SITE_FULL}/@{c.wall_user.username}/wall/comment/{c.id}?context=8&read=true#context' push_notif(parent_user.id, title, notifbody, url)