Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-03 18:04:23 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-03 18:07:37 +0300
commit0e1b20723f6882a04a326e565a22abd17c3e25f1 (patch)
tree312c6248a027cb01a09a419d5b1fcdc44a68f9d7 /src/utils/signaling.js
parent4d2ecfcd96a6df7ed34bddd91dce2484a9750213 (diff)
Show an error message to users with the HPB is incompatible
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/utils/signaling.js')
-rw-r--r--src/utils/signaling.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/signaling.js b/src/utils/signaling.js
index 98edcb0bb..3674da603 100644
--- a/src/utils/signaling.js
+++ b/src/utils/signaling.js
@@ -962,6 +962,16 @@ Signaling.Standalone.prototype.helloResponseReceived = function(data) {
}
}
+ if (!this.features['audio-video-permissions']) {
+ showError(
+ t('spreed', 'The configured signaling server needs to be updated to be compatible with this version of Talk. Please contact your administrator.'),
+ {
+ timeout: TOAST_PERMANENT_TIMEOUT,
+ }
+ )
+ console.error('The configured signaling server needs to be updated to be compatible with this version of Talk. Please contact your administrator.')
+ }
+
const messages = this.pendingMessages
this.pendingMessages = []
for (i = 0; i < messages.length; i++) {