Implement and test channel cleanup as clients leave

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-08-20 14:32:53 +02:00
co-authored by Nathan Sobo
parent 9ed4176e4d
commit 5f3e6f35d4
4 changed files with 825 additions and 732 deletions
-1
View File
@@ -100,7 +100,6 @@ impl ChannelList {
impl Entity for Channel {
type Event = ();
// TODO: Implement the server side of leaving a channel
fn release(&mut self, cx: &mut MutableAppContext) {
let rpc = self.rpc.clone();
let channel_id = self.details.id;