mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-06 01:43:48 +00:00
Reconnect on rejoin room
This commit is contained in:
@@ -324,7 +324,7 @@ class RTCPeer extends Peer {
|
||||
refresh() {
|
||||
// check if channel open. otherwise create one
|
||||
if (this._peer && this._channel && this._channel.readyState !== 'open') return;
|
||||
this._createChannel(this._peerId, this._isCaller);
|
||||
this._start(this._peerId, this._isCaller);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user