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

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);
} }
}); });