forked from rDrama/rDrama
1
0
Fork 0

comment bad code

master
Aevann 2024-06-01 11:43:14 +03:00
parent a05a488830
commit bf06d2e1d5
1 changed files with 2 additions and 2 deletions

View File

@ -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