Fix panic by disallowing multiple room joins
This commit is contained in:
parent
cc7df91cc6
commit
fd8e6110b1
3 changed files with 104 additions and 33 deletions
|
@ -4238,6 +4238,10 @@ async fn join_channel_internal(
|
|||
})
|
||||
.await?;
|
||||
|
||||
let Some(room) = room else {
|
||||
return anyhow::Ok(true);
|
||||
};
|
||||
|
||||
room.update(cx, |room, _| room.room_update_completed())
|
||||
.await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue