diff --git a/renderer/main.js b/renderer/main.js index f8d2718a..4a782bd9 100644 --- a/renderer/main.js +++ b/renderer/main.js @@ -619,6 +619,7 @@ function addTorrent (torrentId) { torrentId = torrentId.path } // Allow a instant.io link to be pasted + // TODO: remove this once support is added to webtorrent core if (typeof torrentId === 'string' && instantIoRegex.test(torrentId)) { torrentId = torrentId.slice(torrentId.indexOf('#') + 1) }