forked from platypush/platypush
Skip torrent status responses with no url.
This commit is contained in:
parent
9134a231b3
commit
3e2a9c0401
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue