Browse Source

BitComet: Update add magnet url

pull/629/head
Brian Witt 2 years ago
parent
commit
175249adff
  1. 4
      app/src/main/java/org/transdroid/daemon/adapters/bitComet/BitCometAdapter.java

4
app/src/main/java/org/transdroid/daemon/adapters/bitComet/BitCometAdapter.java

@ -163,14 +163,14 @@ public class BitCometAdapter implements IDaemonAdapter {
// Request to add a torrent by URL // Request to add a torrent by URL
String url = ((AddByUrlTask) task).getUrl(); String url = ((AddByUrlTask) task).getUrl();
makeUploadUrlRequest(log, "/panel/task_add_httpftp_result", url); makeUploadUrlRequest(log, "/panel/task_add_magnet_result", url);
return new DaemonTaskSuccessResult(task); return new DaemonTaskSuccessResult(task);
case AddByMagnetUrl: case AddByMagnetUrl:
// Request to add a torrent by URL // Request to add a torrent by URL
String magnetUrl = ((AddByMagnetUrlTask) task).getUrl(); String magnetUrl = ((AddByMagnetUrlTask) task).getUrl();
makeUploadUrlRequest(log, "/panel/task_add_httpftp_result", magnetUrl); makeUploadUrlRequest(log, "/panel/task_add_magnet_result", magnetUrl);
return new DaemonTaskSuccessResult(task); return new DaemonTaskSuccessResult(task);
case Remove: case Remove:

Loading…
Cancel
Save