Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Push responder and requester to remove_contacts
Petros Amoiridis5d4eb2b7ae56
diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rsindex 92d4935b230..54ffd9a958a 100644--- a/crates/collab/src/rpc.rs+++ b/crates/collab/src/rpc.rs@@ -1966,6 +1966,7 @@ async fn remove_contact(let pool = session.connection_pool().await;// Update outgoing contact requests of requesterlet mut update = proto::UpdateContacts::default();+ update.remove_contacts.push(responder_id.to_proto());update.remove_outgoing_requests.push(responder_id.to_proto());@@ -1975,6 +1976,7 @@ async fn remove_contact(// Update incoming contact requests of responderlet mut update = proto::UpdateContacts::default();+ update.remove_contacts.push(requester_id.to_proto());update.remove_incoming_requests.push(requester_id.to_proto());