Commit 2c53bff4 authored by Jibon Costa's avatar Jibon Costa
Browse files

allowModsToUnmuteUsers

parent 236df4c4
......@@ -163,6 +163,11 @@ class CreateMeetingParameters extends MetaParameters
*/
private $lockSettingsLockOnJoinConfigurable;
/**
* @var bool
*/
private $allowModsToUnmuteUsers;
/**
* @var array
*/
......@@ -747,6 +752,25 @@ class CreateMeetingParameters extends MetaParameters
return $this;
}
/**
* @return bool
*/
public function isAllowModsToUnmuteUsers()
{
return $this->allowModsToUnmuteUsers;
}
/**
* @param bool $lockOnJoinConfigurable
* @return CreateMeetingParameters
*/
public function setAllowModsToUnmuteUsers($allowModsToUnmuteUsers)
{
$this->allowModsToUnmuteUsers = $allowModsToUnmuteUsers;
return $this;
}
/**
* @param $endCallbackUrl
* @return CreateMeetingParameters
......@@ -936,6 +960,7 @@ class CreateMeetingParameters extends MetaParameters
'lockSettingsLockedLayout' => $this->isLockSettingsLockedLayout() ? 'true' : 'false',
'lockSettingsLockOnJoin' => $this->isLockSettingsLockOnJoin() ? 'true' : 'false',
'lockSettingsLockOnJoinConfigurable' => $this->isLockSettingsLockOnJoinConfigurable() ? 'true' : 'false',
'allowModsToUnmuteUsers' => $this->isAllowModsToUnmuteUsers() ? 'true' : 'false',
];
// Add breakout rooms parameters only if the meeting is a breakout room
......
......@@ -59,6 +59,7 @@ class CreateMeetingParametersTest extends TestCase
$this->assertEquals($params['lockSettingsLockedLayout'], $createMeetingParams->isLockSettingsLockedLayout());
$this->assertEquals($params['lockSettingsLockOnJoin'], $createMeetingParams->isLockSettingsLockOnJoin());
$this->assertEquals($params['lockSettingsLockOnJoinConfigurable'], $createMeetingParams->isLockSettingsLockOnJoinConfigurable());
$this->assertEquals($params['allowModsToUnmuteUsers'], $createMeetingParams->isAllowModsToUnmuteUsers());
$this->assertEquals($params['meta_presenter'], $createMeetingParams->getMeta('presenter'));
$this->assertEquals($params['meta_endCallbackUrl'], $createMeetingParams->getMeta('endCallbackUrl'));
$this->assertEquals($params['meta_bbb-recording-ready-url'], $createMeetingParams->getMeta('bbb-recording-ready-url'));
......
......@@ -95,6 +95,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
'lockSettingsLockedLayout' => $this->faker->boolean(50),
'lockSettingsLockOnJoin' => $this->faker->boolean(50),
'lockSettingsLockOnJoinConfigurable' => $this->faker->boolean(50),
'allowModsToUnmuteUsers' => $this->faker->boolean(50),
'meta_presenter' => $this->faker->name,
'meta_endCallbackUrl' => $this->faker->url,
'meta_bbb-recording-ready-url' => $this->faker->url,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment