Unable to unfollow users with deleted accounts
When attempting to unfollow a user that has since had his account deleted, a 500 is thrown. The unfollow()
method in website/src/lib/user/Profile.php
does not check whether the user exists.
https://gitlab.com/DefendTheWeb/website/blob/master/src/lib/user/Profile.php#L593-617
Example: POST https://defendtheweb.net/profile/01230123/unfollow?ajax