remove @jannies

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-10-31 00:41:26 +02:00
parent c80e92f434
commit cdffb764bd
1 changed files with 1 additions and 4 deletions

View File

@ -91,10 +91,7 @@ def NOTIFY_USERS(text, v):
names = set(m.group(2) for m in mention_regex.finditer(text))
for user in get_users(names, graceful=True):
if user.username == 'jannies' and v.truecoins >= ADMIN_PING_TRUESCORE_MINIMUM and not v.shadowbanned:
admins = [x[0] for x in g.db.query(User.id).filter(User.admin_level >= PERMS['NOTIFICATIONS_ADMIN_PING']).all()]
notify_users.update(admins)
elif v.id != user.id and not v.any_block_exists(user):
if v.id != user.id and not v.any_block_exists(user):
notify_users.add(user.id)
if SITE_NAME == "WPD" and 'daisy' in text.lower():