magnet links always pause after they get metainfo (#2654)

fix for https://github.com/transmission/transmission/issues/2239

Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
SweetPPro 2022-02-19 16:26:59 +01:00 committed by GitHub
parent 87d9f9b00a
commit 023fbd69f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ static void onHaveAllMetainfo(tr_torrent* tor, tr_incomplete_metadata* m)
tor->incompleteMetadata = nullptr;
tor->isStopping = true;
tor->magnetVerify = true;
tor->startAfterVerify = !tor->prefetchMagnetMetadata;
tor->startAfterVerify = !tr_sessionGetPaused(tor->session);
tor->markEdited();
}
else /* drat. */