Leave Zed room when LiveKit room disconnects

This commit is contained in:
Antonio Scandurra 2022-10-21 14:21:45 +02:00
parent 78969d0938
commit 1bbb7dd126
7 changed files with 200 additions and 38 deletions

View file

@ -86,7 +86,7 @@ impl Client for LiveKitClient {
}
async fn create_room(&self, name: String) -> Result<()> {
let x: proto::Room = self
let _: proto::Room = self
.request(
"twirp/livekit.RoomService/CreateRoom",
token::VideoGrant {
@ -99,7 +99,6 @@ impl Client for LiveKitClient {
},
)
.await?;
dbg!(x);
Ok(())
}