mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
when adding a torrent through rpc, respect the paused flag (although now a torrent cannot be added in the "queued" state)
This commit is contained in:
@@ -4297,8 +4297,6 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||
|
||||
Torrent * torrent = [[Torrent alloc] initWithTorrentStruct: torrentStruct location: location lib: fLib];
|
||||
|
||||
[torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]];
|
||||
|
||||
[torrent update];
|
||||
[fTorrents addObject: torrent];
|
||||
[torrent release];
|
||||
|
||||
Reference in New Issue
Block a user