forked from MarseyWorld/MarseyWorld
exclude me from `daisy` and `kill myself` notifs
parent
63ab6127e3
commit
7cf9430dbf
|
@ -163,7 +163,7 @@ def NOTIFY_USERS(text, v, oldtext=None, ghost=False, obj=None, followers_ping=Tr
|
|||
notify_users.update(user_ids)
|
||||
|
||||
if SITE_NAME == "WPD" and ('daisy' in text or 'kill myself' in text):
|
||||
admin_ids = [x[0] for x in g.db.query(User.id).filter(User.admin_level >= PERMS['NOTIFICATIONS_SPECIFIC_WPD_COMMENTS'])]
|
||||
admin_ids = [x[0] for x in g.db.query(User.id).filter(User.admin_level >= PERMS['NOTIFICATIONS_SPECIFIC_WPD_COMMENTS'], User.id != AEVANN_ID)]
|
||||
notify_users.update(admin_ids)
|
||||
|
||||
if FEATURES['PING_GROUPS']:
|
||||
|
|
Loading…
Reference in New Issue