fix: change checkbox label for code readability

pull/176/head
Jonas 2021-08-30 17:52:04 +02:00
parent cec89fcf92
commit 09b627eea2
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class RoomService {
public function create(string $name, string $welcome, int $maxParticipants, bool $record, string $access, string $userId): \OCP\AppFramework\Db\Entity {
$room = new Room();
$mediaCheck = $this->config->getAppValue('bbb', 'join.mediaCheck') !== 'true';
$mediaCheck = $this->config->getAppValue('bbb', 'join.mediaCheck') === 'true';
$room->setUid(\OC::$server->getSecureRandom()->generate(16, \OCP\Security\ISecureRandom::CHAR_HUMAN_READABLE));
$room->setName($name);

View File

@ -34,7 +34,7 @@ script('bbb', 'restrictions');
<p>
<input type="checkbox" name="join.mediaCheck" id="bbb-join-mediaCheck" class="checkbox bbb-setting" value="1" <?php p($_['join.mediaCheck']); ?> />
<label for="bbb-join-mediaCheck"><?php p($l->t('Skip media check before usage')); ?></label>
<label for="bbb-join-mediaCheck"><?php p($l->t('Perform media check before usage')); ?></label>
</p>
<h3><?php p($l->t('Community')); ?></h3>