fix(replication): fix replication on some cases of downloading

This commit is contained in:
Alexey Kasyanchuk
2018-06-27 23:49:41 +03:00
parent 545f772918
commit 72828b860f
2 changed files with 6 additions and 1 deletions

View File

@ -456,6 +456,10 @@ setInterval(() => {
delete torrent.contenttype;
}
// clean download info if added
if(torrent.download)
delete torrent.download
if(!checkTorrent(torrent))
{
resolve()