don't auto-manage the torrents we follow

This commit is contained in:
Miguel Freitas 2014-02-25 08:37:32 -03:00
parent 4e701dd7a4
commit cb9e637ac6

View File

@ -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 )