Skip to content

Commit 96f0959

Browse files
committed
feat: Set signaling server federation feature as mandatory
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 3b0004b commit 96f0959

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/Signaling/Manager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function isCompatibleSignalingServer(IResponse $response): bool {
3636
$features = explode(',', $featureHeader);
3737
$features = array_map('trim', $features);
3838
return in_array('audio-video-permissions', $features, true)
39+
&& in_array('federation', $features, true)
3940
&& in_array('incall-all', $features, true)
4041
&& in_array('hello-v2', $features, true)
4142
&& in_array('switchto', $features, true);

src/utils/signaling.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,7 @@ Signaling.Standalone.prototype.helloResponseReceived = function(data) {
11151115

11161116
if (!this.settings.helloAuthParams.internal
11171117
&& (!this.hasFeature('audio-video-permissions')
1118+
|| !this.hasFeature('federation')
11181119
|| !this.hasFeature('incall-all')
11191120
|| !this.hasFeature('switchto'))) {
11201121
showError(

0 commit comments

Comments
 (0)