mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 05:19:21 +00:00
Fix logic issue
This commit is contained in:
parent
366d9ee25c
commit
91d52695d7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user