|
@@ -7,6 +7,7 @@ class LobbyModel extends ClientLobbyModel {
|
|
|
public $isStrangerAccessible;
|
|
|
public $isClientAccessible;
|
|
|
public $isActive;
|
|
|
+ public $lobbyProAccessLevel;
|
|
|
public $meetings = [];
|
|
|
|
|
|
public function __construct(Lobby $lobby)
|
|
@@ -15,6 +16,7 @@ class LobbyModel extends ClientLobbyModel {
|
|
|
$this->isStrangerAccessible = $lobby->is_stranger_accessible;
|
|
|
$this->isClientAccessible = $lobby->is_client_accessible;
|
|
|
$this->isActive = $lobby->is_active;
|
|
|
+ $this->lobbyProAccessLevel = $lobby->lobby_pro_access_level;
|
|
|
foreach ($lobby->meetings()->where('meeting.is_active',true)->get() as $meeting) {
|
|
|
$this->meetings[] = new MeetingModel($meeting);
|
|
|
}
|