mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-21 15:26:17 -04:00
Reconnect on rejoin room
This commit is contained in:
parent
7194c65c74
commit
9c9ca70d05
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue