From e9b23bfdb02876e1122d2fd2c1f4d1b4e537f2d0 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 15 Feb 2023 21:08:02 +0100 Subject: [PATCH] [self-hosted] fix: if client does not support webrtc but peer does, show peer with a red border as well --- public_included_ws_fallback/scripts/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_included_ws_fallback/scripts/ui.js b/public_included_ws_fallback/scripts/ui.js index 97a64d2..6511357 100644 --- a/public_included_ws_fallback/scripts/ui.js +++ b/public_included_ws_fallback/scripts/ui.js @@ -258,7 +258,7 @@ class PeerUI { this.$el.id = this._peer.id; this.$el.ui = this; this.$el.classList.add(`type-${this._roomType}`); - if (!this._peer.rtcSupported) this.$el.classList.add('ws-peer') + if (!this._peer.rtcSupported || !window.isRtcSupported) this.$el.classList.add('ws-peer') this.html(); this._callbackInput = e => this._onFilesSelected(e)