summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PageController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-08-24 11:13:40 +0200
committerJoas Schilling <coding@schilljs.com>2020-08-25 08:47:08 +0200
commit6d0b2c86b730cb23863d74d3fd61306d84eb8150 (patch)
tree7197c049aa72f151d12f30e4625dc0011c9d68a2 /lib/Controller/PageController.php
parent9a94fb30298f287043374c607a7865db65ee119a (diff)
Allow to install the Matterbridge app directly in the Talk settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r--lib/Controller/PageController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index 166aef479..4f516ce11 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -249,7 +249,7 @@ class PageController extends Controller {
}
$this->publishInitialStateForUser($user, $this->rootFolder, $this->appManager);
- $this->initialStateService->provideInitialState('talk', 'enable_matterbridge', (int) $this->serverConfig->getAppValue('spreed', 'enable_matterbridge', '0'));
+ $this->initialStateService->provideInitialState('talk', 'enable_matterbridge', $this->serverConfig->getAppValue('spreed', 'enable_matterbridge', '0') === '1');
if (class_exists(LoadViewer::class)) {
$this->eventDispatcher->dispatchTyped(new LoadViewer());