auto-fetch metainfo on new torrents

This commit is contained in:
Cœur 2023-02-15 13:25:41 +08:00
parent f06cb37c06
commit 60ee353a2f
1 changed files with 1 additions and 1 deletions

View File

@ -1039,7 +1039,7 @@ void tr_torrent::init(tr_ctor const& ctor)
{
on_metainfo_completed();
}
else if (start_when_stable_)
else if (start_when_stable_ || (is_new_torrent && !has_metainfo))
{
auto const bypass_queue = !has_metainfo; // to fetch metainfo from peers
start(bypass_queue, has_any_local_data);