From 91d52695d7361697ec0b0992a0da77e2ed95fdba Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 12 Mar 2022 08:15:52 +0100 Subject: [PATCH] Fix logic issue --- src/controllers/calls_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/calls_controller.rs b/src/controllers/calls_controller.rs index 7bbbb8c..36a93cd 100644 --- a/src/controllers/calls_controller.rs +++ b/src/controllers/calls_controller.rs @@ -141,7 +141,7 @@ pub async fn join_call(r: &mut UserWsRequestHandler) -> RequestResult { // Remove any other active connection to current call of current user for conn in user_ws_controller::get_all_connections()? { if conn.user_id() != r.user_id_ref()? || conn.session.eq(&r.get_conn().session) { - return Ok(()); + continue; } if let Some(call) = &conn.active_call {