Error in torrent handling, fixes #132, #124

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-17 22:09:51 +01:00
parent b7ddb09ce5
commit 4975c08c0d
-7
View File
@@ -661,13 +661,6 @@ export default class RoomClient
this._webTorrent.seed(files, (torrent) => this._webTorrent.seed(files, (torrent) =>
{ {
const existingTorrent = this._webTorrent.get(torrent);
if (existingTorrent)
{
return this._sendFile(existingTorrent.magnetURI);
}
store.dispatch(requestActions.notify( store.dispatch(requestActions.notify(
{ {
text : intl.formatMessage({ text : intl.formatMessage({