diff options
author | Joas Schilling <coding@schilljs.com> | 2020-05-11 15:05:26 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-05-12 11:40:21 +0300 |
commit | 71f164a633862095fd5f4dc8295436b3b4ed2bb9 (patch) | |
tree | c0896403c36870fe0eb93716a937e3b55a2e0e97 /lib/TInitialState.php | |
parent | 78b221f45470b111a3f79464ab850ac89b51693f (diff) |
Use the constants everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/TInitialState.php')
-rw-r--r-- | lib/TInitialState.php | 2 |
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( |