fix: set torrent.doneDate when adding a new seed (#2634)

This commit is contained in:
Charles Kerr 2022-02-16 17:04:06 -06:00 committed by GitHub
parent f1a53840f9
commit 3042ae5b76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -798,6 +798,7 @@ static void torrentInit(tr_torrent* tor, tr_ctor const* ctor)
else if (isNewTorrentASeed(tor))
{
tor->completion.setHasAll();
tor->doneDate = tor->addedDate;
tor->recheckCompleteness();
}
else