Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-09-29 12:36:58 +0300
committerJoas Schilling <coding@schilljs.com>2017-09-29 12:36:58 +0300
commitc26d958b981268f243d46422bc1b23939630140d (patch)
tree443db6fabcee1a2ba3d38768cdabce9ba33ba7cc /lib/Config.php
parent9e2e39a614a034fd830e014e0176c3b651d3e967 (diff)
Add a migration to copy the current stun and turn settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Config.php')
-rw-r--r--lib/Config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Config.php b/lib/Config.php
index 1049af0a5..b87e18f0c 100644
--- a/lib/Config.php
+++ b/lib/Config.php
@@ -47,7 +47,7 @@ class Config {
* @return string
*/
public function getStunServer() {
- $config = $this->config->getAppValue('spreed', 'stun_server', 'stun.nextcloud.com:443');
+ $config = $this->config->getAppValue('spreed', 'stun_servers', 'stun.nextcloud.com:443');
$servers = json_decode($config);
if ($servers === null) {
@@ -68,7 +68,7 @@ class Config {
* @return array
*/
public function getTurnSettings() {
- $config = $this->config->getAppValue('spreed', 'stun_server');
+ $config = $this->config->getAppValue('spreed', 'turn_servers');
$servers = json_decode($config);
if ($servers === null || !empty($servers) || !is_array($servers)) {