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 );