diff --git a/platypush/backend/http/static/js/plugins/media/handlers/torrent.js b/platypush/backend/http/static/js/plugins/media/handlers/torrent.js index 35a6d2ea..edc09d6c 100644 --- a/platypush/backend/http/static/js/plugins/media/handlers/torrent.js +++ b/platypush/backend/http/static/js/plugins/media/handlers/torrent.js @@ -237,7 +237,8 @@ MediaHandlers.torrent = MediaHandlers.base.extend({ return; for (const [url, torrent] of Object.entries(status)) { - self.torrentStatus[event.url] + if (!torrent.url) + continue; self.mergeStatus(torrent); } });