Add a comedy check which nobody but rslurs with mitm proxies can see

pull/134/head
Perjury 2023-02-27 01:32:50 +02:00
parent e7cb399d59
commit 8d853e4969
1 changed files with 3 additions and 0 deletions

View File

@ -1138,6 +1138,9 @@ def unfollow_user(username, v):
if not v.shadowbanned:
send_notification(target.id, f"@{v.username} has unfollowed you!")
else:
abort(400, f"You're not even following {target.username} to begin with!")
return {"message": f"@{target.username} has been unfollowed!"}