Store magnet URI once torrent has been parsed (#1686)

Store magnet URI once torrent has been parsed
This commit is contained in:
Feross Aboukhadijeh
2019-09-11 19:44:06 -07:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -360,7 +360,7 @@ function setupIpc () {
ipcRenderer.on('windowBoundsChanged', onWindowBoundsChanged)
const tc = controllers.torrent()
ipcRenderer.on('wt-infohash', (e, ...args) => tc.torrentInfoHash(...args))
ipcRenderer.on('wt-parsed', (e, ...args) => tc.torrentParsed(...args))
ipcRenderer.on('wt-metadata', (e, ...args) => tc.torrentMetadata(...args))
ipcRenderer.on('wt-done', (e, ...args) => tc.torrentDone(...args))
ipcRenderer.on('wt-done', () => controllers.torrentList().resumePausedTorrents())