master
Aevann 2023-08-20 11:17:38 +03:00
parent 8db22e68c7
commit dcb6ef56d4
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, log_cost=None, followers_pi
def push_notif(uids, title, body, url_or_comment):
if g.v.shadowbanned:
if hasattr(g, 'v') and g.v and g.v.shadowbanned:
return
if VAPID_PUBLIC_KEY == DEFAULT_CONFIG_VALUE: