mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 22:37:55 +00:00
don't auto-manage the torrents we follow
This commit is contained in:
parent
4e701dd7a4
commit
cb9e637ac6
@ -99,6 +99,12 @@ torrent_handle startTorrentUser(std::string const &username, bool following)
|
||||
load_file(filename.c_str(), tparams.resume_data);
|
||||
|
||||
m_userTorrent[username] = ses->add_torrent(tparams);
|
||||
if( following ) {
|
||||
m_userTorrent[username].auto_managed(false);
|
||||
m_userTorrent[username].resume();
|
||||
} else {
|
||||
m_userTorrent[username].auto_managed(true);
|
||||
}
|
||||
m_userTorrent[username].force_dht_announce();
|
||||
}
|
||||
if( following )
|
||||
|
Loading…
Reference in New Issue
Block a user