forked from rDrama/rDrama
1
0
Fork 0

dont send me a notif

master
Aevann1 2022-09-12 19:52:07 +02:00
parent 94c69dc137
commit e0d32c7105
1 changed files with 2 additions and 1 deletions

View File

@ -202,7 +202,8 @@ def admin_app_reject(v, aid):
if app:
for auth in g.db.query(ClientAuth).filter_by(oauth_client=app.id).all(): g.db.delete(auth)
send_repeatable_notification(app.author.id, f"@{v.username} has rejected your application `{app.app_name}`.")
if v.id != app.author.id:
send_repeatable_notification(app.author.id, f"@{v.username} has rejected your application `{app.app_name}`.")
g.db.delete(app)