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
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-05-11 15:05:26 +0300
committerJoas Schilling <coding@schilljs.com>2020-05-12 11:40:21 +0300
commit71f164a633862095fd5f4dc8295436b3b4ed2bb9 (patch)
treec0896403c36870fe0eb93716a937e3b55a2e0e97 /lib
parent78b221f45470b111a3f79464ab850ac89b51693f (diff)
Use the constants everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/TInitialState.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TInitialState.php b/lib/TInitialState.php
index 8069d55d7..ea24e17ca 100644
--- a/lib/TInitialState.php
+++ b/lib/TInitialState.php
@@ -55,7 +55,7 @@ trait TInitialState {
);
$signalingMode = $this->talkConfig->getSignalingMode();
- if ($signalingMode !== 'internal'
+ if ($signalingMode !== Config::SIGNALING_INTERNAL
&& !$this->memcacheFactory->isAvailable()
&& $this->serverConfig->getAppValue('spreed', 'signaling_dev', 'no') === 'no') {
throw new HintException(