Skip to content

Commit

Permalink
refactor: Format if condition in several lines
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu committed Jul 18, 2024
1 parent f4a18c1 commit 538f25d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/signaling.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.'),
{
Expand Down

0 comments on commit 538f25d

Please sign in to comment.