Send "unblock" activity when user unblocks another user to recalibrate the state
Situation:
User A on Instance A User B on Instance B
- Both users are following each other
- User A blocks User B
- Instance B forcefully unfollows User B from User A
- Instance A doesn't know about block, it think User A is still following User B
- some time later User A unblocks User B (and follows them back)
- Instance A still thinks that User A is following User B but Instance B doesn't. Following state is disjointed.
- From User A's POV they are following User B but they don't get the posts of the user.
Proposed solution:
When user unblocks someone an "unblock" activity is always sent even if "block" activity wasn't sent before. In this case instances could recalibrate the state like so:
- Instance A gets "Unblock" activity that implies that user was blocked which would do either:
- User A is forcefully unfollowed from User B so that user User A can follow them again
- Instance A sends follow request(?) from User A's behalf to User B