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
parent
commit
4f5ddbc9c2
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 5
      src/utils/signaling.js

5
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.'),
{

Loading…
Cancel
Save