[self-hosted] fix: if client does not support webrtc but peer does, show peer with a red border as well
This commit is contained in:
parent
49e7281092
commit
e9b23bfdb0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue