Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Oct 23, 2024
1 parent f509758 commit 3f1fc33
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/Meet/Meet.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public static function getTokenArray($meet_schedule_id, $users_id = 0)
if (empty($users_id)) {
$user = [
"affiliation"=> ($isModerator?'owner':'member'),
"lobby"=> ($isModerator?false:true),
];
} else {
$u = new User($users_id);
Expand All @@ -119,9 +118,11 @@ public static function getTokenArray($meet_schedule_id, $users_id = 0)
"email" => $u->getEmail(),
"id" => $users_id,
"affiliation"=> ($isModerator?'owner':'member'),
"lobby"=> ($isModerator?false:true),
];
}
if(!$isModerator){
$user['lobby'] = true;
}

$jitsiPayload = [
"context" => [
Expand Down

0 comments on commit 3f1fc33

Please sign in to comment.