forked from rDrama/rDrama
don't notify me of smth I did
parent
8c906b9977
commit
84dc2b3973
|
@ -176,6 +176,7 @@ def admin_app_revoke(v, aid):
|
|||
if app:
|
||||
for auth in g.db.query(ClientAuth).filter_by(oauth_client=app.id).all(): g.db.delete(auth)
|
||||
|
||||
if v.id != app.author.id:
|
||||
send_repeatable_notification(app.author.id, f"@{v.username} has revoked your application `{app.app_name}`.")
|
||||
|
||||
g.db.delete(app)
|
||||
|
|
Loading…
Reference in New Issue