summaryrefslogtreecommitdiffstats
path: root/lib/Controller/RoomController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-12-06 20:19:28 +0100
committerJoas Schilling <coding@schilljs.com>2022-12-12 09:45:55 +0100
commitcc4f9ad0cfe5120dcde47c1ee94b020c3f23b043 (patch)
tree1f68a178e80622345ed5fd137cf61f51d0ca578c /lib/Controller/RoomController.php
parentaaafd21b39d63802e89a35953e757b3efc3c51da (diff)
Fix invalid argument types
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/RoomController.php')
-rw-r--r--lib/Controller/RoomController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php
index b3aaa899e..fa859c268 100644
--- a/lib/Controller/RoomController.php
+++ b/lib/Controller/RoomController.php
@@ -526,7 +526,7 @@ class RoomController extends AEnvironmentAwareController {
} elseif ($room->getType() === Room::TYPE_ONE_TO_ONE) {
$roomData['notificationLevel'] = Participant::NOTIFY_ALWAYS;
} else {
- $adminSetting = (int) $this->config->getAppValue('spreed', 'default_group_notification', Participant::NOTIFY_DEFAULT);
+ $adminSetting = (int) $this->config->getAppValue('spreed', 'default_group_notification', (string) Participant::NOTIFY_DEFAULT);
if ($adminSetting === Participant::NOTIFY_DEFAULT) {
$roomData['notificationLevel'] = Participant::NOTIFY_MENTION;
} else {