Add unfollow and unblock methods #34
Loading…
Reference in New Issue
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_relationship
was being unnecessarily noisy, in the sense that it was publishing values that were not technically required (ie.blocking: false
when callingfollow(peer_id)
). I have updated that method to takeOption<bool>
forfollowing
andblocking
, instead of simplybool
.unblock(peer_id)
unfollow(peer_id)