master
Håvar Aambø Fosstveit 2019-04-11 12:40:22 +02:00
parent dd12d76a5d
commit 80b44b0722
1 changed files with 8 additions and 1 deletions

View File

@ -95,6 +95,8 @@ export default class RoomClient
this._room = null;
this._roomId = roomId;
this._doneJoining = false;
// Our WebTorrent client
this._webTorrent = this._torrentSupport && new WebTorrent({
tracker : {
@ -1259,7 +1261,10 @@ export default class RoomClient
this._soundNotification();
if (this._doneJoining)
{
this._handlePeer(peer);
}
});
try
@ -1341,6 +1346,8 @@ export default class RoomClient
this._handlePeer(peer, { notify: false });
}
this._doneJoining = true;
this._spotlights.start();
}
catch (error)