code review

This commit is contained in:
Conrad Irwin 2023-10-09 18:13:52 -06:00
parent fb57299a1d
commit 8922437fcd
6 changed files with 14 additions and 39 deletions

View file

@ -47,7 +47,6 @@ use std::{
any::TypeId,
borrow::Cow,
cmp, env,
fs::OpenOptions,
future::Future,
path::{Path, PathBuf},
rc::Rc,
@ -4246,7 +4245,8 @@ async fn join_channel_internal(
})
.await?;
room.update(cx, |room, _| room.next_room_update()).await;
room.update(cx, |room, _| room.room_update_completed())
.await;
let task = room.update(cx, |room, cx| {
if let Some((project, host)) = room.most_active_project(cx) {
@ -4259,16 +4259,6 @@ async fn join_channel_internal(
task.await?;
return anyhow::Ok(true);
}
use std::io::Write;
writeln!(
OpenOptions::new()
.write(true)
.append(true)
.open("/Users/conrad/dbg")
.unwrap(),
"no jokes"
)
.unwrap();
anyhow::Ok(false)
}