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