Add unfollow and unblock methods #34
Reference in New Issue
Block a user
No description provided.
Delete Branch "unfollow_and_unblock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since I'm currently adding the ability to unfollow or unblock a peer in Peachland, this seemed like a good time to add convenience methods.
I noticed that
set_relationshipwas being unnecessarily noisy, in the sense that it was publishing values that were not technically required (ie.blocking: falsewhen callingfollow(peer_id)). I have updated that method to takeOption<bool>forfollowingandblocking, instead of simplybool.unblock(peer_id)unfollow(peer_id)