mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-11 02:46:39 +00:00
cbcf8eb863
When adding magnets (without prefetch) the trackers were missing. The issue was that the magnet uri was being xml escaped twice so that the ampersand was still escaped when passed to core and everything after the magnet info_hash was ignored. Also found unneeded call to core.add_torrent_files when only adding magnets with core.add_torrent_magnet so check torrents_to_add before calling.