snapdrop

A Progressive Web App for local file sharing
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

commit 9c9ca70d05fb2894d4e8113acc3a99a7b582ec78
parent 7194c65c74681883089d21c574275dfc01864d50
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date:   Fri, 21 Sep 2018 20:55:15 +0200

Reconnect on rejoin room

Diffstat:
Mclient/scripts/network.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/scripts/network.js b/client/scripts/network.js @@ -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); } }