From 0b617251353d661a24c50a3fdf19d699d557ab38 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 25 Mar 2023 00:19:14 +0200 Subject: [PATCH] fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3859093#context --- files/helpers/alerts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 6e7e6ec64..e5215a810 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -191,6 +191,8 @@ def push_notif(uids, title, body, url_or_comment): if isinstance(url_or_comment, Comment): c = url_or_comment + if c.is_banned: return + if c.wall_user_id: url = f'{SITE_FULL}/@{c.wall_user.username}/wall/comment/{c.id}?read=true#context' else: