From 694f25de340ee72bbf33010162d4151f625b558c Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 2 Jun 2024 10:40:34 +0300 Subject: [PATCH] remove commented code --- files/helpers/alerts.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 3acc8adf2..28f603e7e 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -279,9 +279,6 @@ def push_notif(uids, title, body, url_or_comment): if not uids: return - # if SITE == 'rdrama.net' and hasattr(g, 'v') and g.v and g.v.admin_level and not (isinstance(url_or_comment, str) and url_or_comment.startswith(f'{SITE_FULL}/chat/182')): - # return - if isinstance(url_or_comment, Comment): c = url_or_comment if c.is_banned: return