diff options
author | Joas Schilling <coding@schilljs.com> | 2017-09-29 12:36:58 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-09-29 12:36:58 +0300 |
commit | c26d958b981268f243d46422bc1b23939630140d (patch) | |
tree | 443db6fabcee1a2ba3d38768cdabce9ba33ba7cc /lib/Settings | |
parent | 9e2e39a614a034fd830e014e0176c3b651d3e967 (diff) |
Add a migration to copy the current stun and turn settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Settings')
-rw-r--r-- | lib/Settings/Admin/StunServer.php | 2 | ||||
-rw-r--r-- | lib/Settings/Admin/TurnServer.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Settings/Admin/StunServer.php b/lib/Settings/Admin/StunServer.php index 129c67e6c..695b33499 100644 --- a/lib/Settings/Admin/StunServer.php +++ b/lib/Settings/Admin/StunServer.php @@ -43,7 +43,7 @@ class StunServer implements ISettings { */ public function getForm() { $parameters = [ - 'stunServer' => $this->config->getAppValue('spreed', 'stun_server', 'stun.nextcloud.com:443'), + 'stunServer' => $this->config->getAppValue('spreed', 'stun_servers', json_encode(['stun.nextcloud.com:443'])), ]; return new TemplateResponse('spreed', 'settings/admin/stun-server', $parameters, ''); diff --git a/lib/Settings/Admin/TurnServer.php b/lib/Settings/Admin/TurnServer.php index b5ff1d4d6..1e0575656 100644 --- a/lib/Settings/Admin/TurnServer.php +++ b/lib/Settings/Admin/TurnServer.php @@ -40,7 +40,7 @@ class TurnServer implements ISettings { */ public function getForm() { $parameters = [ - 'turnServer' => $this->config->getAppValue('spreed', 'turn_server'), + 'turnServer' => $this->config->getAppValue('spreed', 'turn_servers'), ]; return new TemplateResponse('spreed', 'settings/admin/turn-server', $parameters, ''); |