[new downloader] Group node status fix.

This commit is contained in:
Vladimir Byko-Ianko 2016-02-29 17:24:05 +03:00 committed by Sergey Yershov
parent fa0fb882e4
commit 61b6b5b639

View file

@ -1257,12 +1257,16 @@ Status Storage::NodeStatus(TCountriesContainer const & node) const
return;
}
if (result == kUsersAttentionNeeded)
return;
if (IsUserAttentionNeededStatus(status))
{
result = kUsersAttentionNeeded;
return;
}
if (result == kPartlyDownloaded)
return;
if (IsPartlyDownloaded(status))
result = kPartlyDownloaded;
};