Browse Source
refactor: Format if condition in several lines
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
pull/12604/head
Daniel Calviño Sánchez
1 year ago
committed by
Joas Schilling
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
4 additions and
1 deletions
-
src/utils/signaling.js
|
|
|
@ -1081,7 +1081,10 @@ Signaling.Standalone.prototype.helloResponseReceived = function(data) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!this.settings.helloAuthParams.internal && (!this.hasFeature('audio-video-permissions') || !this.hasFeature('incall-all') || !this.hasFeature('switchto'))) { |
|
|
|
if (!this.settings.helloAuthParams.internal |
|
|
|
&& (!this.hasFeature('audio-video-permissions') |
|
|
|
|| !this.hasFeature('incall-all') |
|
|
|
|| !this.hasFeature('switchto'))) { |
|
|
|
showError( |
|
|
|
t('spreed', 'The configured signaling server needs to be updated to be compatible with this version of Talk. Please contact your administration.'), |
|
|
|
{ |
|
|
|
|