From f476660c63dc2967e44aa5d58c6f48342b2ea6eb Mon Sep 17 00:00:00 2001 From: Ghamza-Jd Date: Sat, 28 Jun 2025 19:00:41 +0300 Subject: [PATCH] fix: parse kick response issue --- jarust_plugins/src/legacy_video_room/handle.rs | 5 ++++- jarust_plugins/src/video_room/handle.rs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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