From 0ce62475d2a1e9fbcca48d9ae416d24ce955a223 Mon Sep 17 00:00:00 2001 From: Deepen Bajracharya Date: Thu, 26 Sep 2024 14:21:53 +0545 Subject: [PATCH] Disable waiting room check condition fix --- includes/api/class-zvc-zoom-api-v2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/api/class-zvc-zoom-api-v2.php b/includes/api/class-zvc-zoom-api-v2.php index 415fac9..f7fe085 100644 --- a/includes/api/class-zvc-zoom-api-v2.php +++ b/includes/api/class-zvc-zoom-api-v2.php @@ -392,7 +392,7 @@ public function createAMeeting( $data = array() ) { 'mute_upon_entry' => ! empty( $data['option_mute_participants'] ), 'auto_recording' => ! empty( $data['option_auto_recording'] ) ? $data['option_auto_recording'] : "none", 'alternative_hosts' => $alternative_host_ids ?? "", - 'waiting_room' => ! empty( $data['disable_waiting_room'] ), + 'waiting_room' => empty( $data['disable_waiting_room'] ), ); $createAMeetingArray = apply_filters( 'vczapi_createAmeeting', $createAMeetingArray ); @@ -437,7 +437,7 @@ public function updateMeetingInfo( $data = array() ) { 'mute_upon_entry' => ! empty( $data['option_mute_participants'] ), 'auto_recording' => ! empty( $data['option_auto_recording'] ) ? $data['option_auto_recording'] : "none", 'alternative_hosts' => $alternative_host_ids ?? "", - 'waiting_room' => ! empty( $data['disable_waiting_room'] ), + 'waiting_room' => empty( $data['disable_waiting_room'] ), ); $updateMeetingInfoArray = apply_filters( 'vczapi_updateMeetingInfo', $updateMeetingInfoArray );