Skip to content

Commit

Permalink
Added missing lockSettings to CreateMeetingParameters->getHTTPQue… (b…
Browse files Browse the repository at this point in the history
…igbluebutton#48)

Added missing lockSettings to CreateMeetingParameters->getHTTPQuery
  • Loading branch information
GhaziTriki authored Nov 15, 2019
2 parents 43bb46f + 4f13299 commit af16d15
Showing 1 changed file with 28 additions and 26 deletions.
54 changes: 28 additions & 26 deletions src/Parameters/CreateMeetingParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -897,32 +897,34 @@ public function getPresentationsAsXML()
public function getHTTPQuery()
{
$queries = [
'name' => $this->meetingName,
'meetingID' => $this->meetingId,
'attendeePW' => $this->attendeePassword,
'moderatorPW' => $this->moderatorPassword,
'dialNumber' => $this->dialNumber,
'voiceBridge' => $this->voiceBridge,
'webVoice' => $this->webVoice,
'logoutURL' => $this->logoutUrl,
'record' => $this->record ? 'true' : 'false',
'duration' => $this->duration,
'maxParticipants' => $this->maxParticipants,
'autoStartRecording' => $this->autoStartRecording ? 'true' : 'false',
'allowStartStopRecording' => $this->allowStartStopRecording ? 'true' : 'false',
'welcome' => trim($this->welcomeMessage),
'moderatorOnlyMessage' => trim($this->moderatorOnlyMessage),
'webcamsOnlyForModerator' => $this->webcamsOnlyForModerator ? 'true' : 'false',
'logo' => $this->logo,
'copyright' => $this->copyright,
'muteOnStart' => $this->muteOnStart,
'lockSettingsDisableCam' => $this->isLockSettingsDisableCam() ? 'true' : 'false',
'lockSettingsDisableMic' => $this->isLockSettingsDisableMic() ? 'true' : 'false',
'lockSettingsDisablePrivateChat' => $this->isLockSettingsDisablePrivateChat() ? 'true' : 'false',
'lockSettingsDisablePublicChat' => $this->isLockSettingsDisablePublicChat() ? 'true' : 'false',
'lockSettingsDisableNote' => $this->isLockSettingsDisableNote() ? 'true' : 'false',
'lockSettingsLockedLayout' => $this->isLockSettingsLockedLayout() ? 'true' : 'false',
'lockSettingsLockOnJoin' => $this->isLockSettingsLockOnJoin() ? 'true' : 'false',
'name' => $this->meetingName,
'meetingID' => $this->meetingId,
'attendeePW' => $this->attendeePassword,
'moderatorPW' => $this->moderatorPassword,
'dialNumber' => $this->dialNumber,
'voiceBridge' => $this->voiceBridge,
'webVoice' => $this->webVoice,
'logoutURL' => $this->logoutUrl,
'record' => $this->record ? 'true' : 'false',
'duration' => $this->duration,
'maxParticipants' => $this->maxParticipants,
'autoStartRecording' => $this->autoStartRecording ? 'true' : 'false',
'allowStartStopRecording' => $this->allowStartStopRecording ? 'true' : 'false',
'welcome' => trim($this->welcomeMessage),
'moderatorOnlyMessage' => trim($this->moderatorOnlyMessage),
'webcamsOnlyForModerator' => $this->webcamsOnlyForModerator ? 'true' : 'false',
'logo' => $this->logo,
'copyright' => $this->copyright,
'muteOnStart' => $this->muteOnStart,
'lockSettingsDisableCam' => $this->isLockSettingsDisableCam() ? 'true' : 'false',
'lockSettingsDisableMic' => $this->isLockSettingsDisableMic() ? 'true' : 'false',
'lockSettingsDisablePrivateChat' => $this->isLockSettingsDisablePrivateChat() ? 'true' : 'false',
'lockSettingsDisablePublicChat' => $this->isLockSettingsDisablePublicChat() ? 'true' : 'false',
'lockSettingsDisableNote' => $this->isLockSettingsDisableNote() ? 'true' : 'false',
'lockSettingsHideUserList' => $this->isLockSettingsHideUserList() ? 'true' : 'false',
'lockSettingsLockedLayout' => $this->isLockSettingsLockedLayout() ? 'true' : 'false',
'lockSettingsLockOnJoin' => $this->isLockSettingsLockOnJoin() ? 'true' : 'false',
'lockSettingsLockOnJoinConfigurable' => $this->isLockSettingsLockOnJoinConfigurable() ? 'true' : 'false',
];

// Add breakout rooms parameters only if the meeting is a breakout room
Expand Down

0 comments on commit af16d15

Please sign in to comment.