Skip torrent status responses with no url.

This commit is contained in:
Fabio Manganiello 2020-01-07 09:59:45 +01:00
parent 9134a231b3
commit 3e2a9c0401
1 changed files with 2 additions and 1 deletions

View File

@ -237,7 +237,8 @@ MediaHandlers.torrent = MediaHandlers.base.extend({
return; return;
for (const [url, torrent] of Object.entries(status)) { for (const [url, torrent] of Object.entries(status)) {
self.torrentStatus[event.url] if (!torrent.url)
continue;
self.mergeStatus(torrent); self.mergeStatus(torrent);
} }
}); });