Reverse subscription flow #2
Loading…
Reference in New Issue
No description provided.
Delete Branch "reverse_subscription_flow"
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?
Previously we added a peer to the database before successfully completing an sbot follow and removed a peer from the database before successfully completing an unfollow.
This PR reverses the order:
When a subscription event is received via the UI:
When an unsubscription event is received via the UI:
Both
follow_if_not_following()
andunfollow_if_following()
now returnResult<(), String>
so we can match on the result insrc/routes.rs
.