From bf06d2e1d5fe191120a6cad3a7b42030ac0b9c19 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 1 Jun 2024 11:43:14 +0300 Subject: [PATCH] comment bad code --- files/helpers/alerts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index f1af0aa2e..3acc8adf2 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -279,8 +279,8 @@ 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 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