model/ConferenceJson: fix default for embed

This commit is contained in:
Franziska Kunsmann 2024-05-07 18:16:53 +02:00
parent 0407c63e32
commit a43d104e78
No known key found for this signature in database
GPG key ID: 12E3D2136B818350

View file

@ -55,6 +55,7 @@ class ConferenceJson extends Conference
isset($c->streamingConfig) ? get_object_vars($c->streamingConfig) : [], isset($c->streamingConfig) ? get_object_vars($c->streamingConfig) : [],
isset($c->streamingConfig->features) ? get_object_vars($c->streamingConfig->features) : [], isset($c->streamingConfig->features) ? get_object_vars($c->streamingConfig->features) : [],
isset($c->streamingConfig->features->chat) ? get_object_vars($c->streamingConfig->features->chat) : [], isset($c->streamingConfig->features->chat) ? get_object_vars($c->streamingConfig->features->chat) : [],
isset($c->streamingConfig->features->embed) ? get_object_vars($c->streamingConfig->embed) : ['embed' => true],
[ [
'conference' => [ 'conference' => [
'title' => $c->title, 'title' => $c->title,