diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-09-17 13:07:36 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2020-09-17 13:16:23 +0200 |
commit | 1fbbc7b56fb9a5801c80a5f76b341d02c84df179 (patch) | |
tree | bb99e8dbfe076665e9607067334486dc7b3d22f3 /lib/Controller/PageController.php | |
parent | a4dd707ac4b44ff8ac20586d526da3a3ade01e91 (diff) |
Fix "enable_matterbridge" initial state not set for guests
The RightSidebar component always checks the value, so even if the
setting does not apply for guests it should be explicitly disabled in
that case.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index 4f516ce11..eab9e146f 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -249,7 +249,6 @@ class PageController extends Controller { } $this->publishInitialStateForUser($user, $this->rootFolder, $this->appManager); - $this->initialStateService->provideInitialState('talk', 'enable_matterbridge', $this->serverConfig->getAppValue('spreed', 'enable_matterbridge', '0') === '1'); if (class_exists(LoadViewer::class)) { $this->eventDispatcher->dispatchTyped(new LoadViewer()); |