Allow canceling a follow request

Merged Ilja requested to merge ilja/pleroma-fe:allow_to_cancel_follow_request into develop

related to pleroma#2790 (closed)

When a follow request is sent, but not (yet) accepted, the behaviour is now to cancel the request instead of re sending.

The reason is double

  • You couldn't cancel a follow request if you change your mind and the request wasn't answered yet
  • Instances don't always correctly process a new follow request when the following is already happening. If something went wrong (e;g. the target server thinks you're following, but your instance thinks you're not yet), it's better to first sent an unfollow. This is the behaviour that Mastodon and most probably most other clients have. Therefore this flow is more tested and expected by other instances.
Edited by Ilja

Merge request reports