Add a comedy check which nobody but rslurs with mitm proxies can see
parent
e7cb399d59
commit
8d853e4969
|
@ -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!"}
|
||||
|
||||
|
|
Loading…
Reference in New Issue