diff --git a/jarust_plugins/src/legacy_video_room/handle.rs b/jarust_plugins/src/legacy_video_room/handle.rs index 651cb494..e2d5c317 100644 --- a/jarust_plugins/src/legacy_video_room/handle.rs +++ b/jarust_plugins/src/legacy_video_room/handle.rs @@ -71,7 +71,10 @@ impl LegacyVideoRoomHandle { let mut message: Value = params.try_into()?; message["request"] = "kick".into(); - self.handle.send_waiton_rsp::<()>(message, timeout).await + self.handle + .send_waiton_rsp::(message, timeout) + .await?; + Ok(()) } } diff --git a/jarust_plugins/src/video_room/handle.rs b/jarust_plugins/src/video_room/handle.rs index a6d1a2df..f35f8140 100644 --- a/jarust_plugins/src/video_room/handle.rs +++ b/jarust_plugins/src/video_room/handle.rs @@ -166,7 +166,10 @@ impl VideoRoomHandle { let mut message: Value = params.try_into()?; message["request"] = "kick".into(); - self.handle.send_waiton_rsp::<()>(message, timeout).await + self.handle + .send_waiton_rsp::(message, timeout) + .await?; + Ok(()) } /// Enable or disable recording on all participants while the conference is in progress