Fix race condition when UpdateChannel message is received while fetching participants for previous update
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
71454ba27c
commit
cbf497bc12
5 changed files with 38 additions and 19 deletions
|
@ -2037,8 +2037,6 @@ impl CollabPanel {
|
|||
self.show_channel_modal(action.channel_id, channel_modal::Mode::ManageMembers, cx);
|
||||
}
|
||||
|
||||
// TODO: Make join into a toggle
|
||||
// TODO: Make enter work on channel editor
|
||||
fn remove(&mut self, _: &Remove, cx: &mut ViewContext<Self>) {
|
||||
if let Some(channel) = self.selected_channel() {
|
||||
self.remove_channel(channel.id, cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue