Fix panic by disallowing multiple room joins
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user