Skip to content

Commit

Permalink
Revert "Revert "New test for tdlib. New Promise/Future features (port…
Browse files Browse the repository at this point in the history
…ed from other project)""

This reverts commit 5686652.
  • Loading branch information
arseny30 committed Nov 26, 2020
1 parent cbca6ca commit ab3e695
Show file tree
Hide file tree
Showing 4 changed files with 849 additions and 97 deletions.
4 changes: 2 additions & 2 deletions td/telegram/CountryInfoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ const CountryInfoManager::CountryList *CountryInfoManager::get_country_list(cons
it = countries_.find(language_code);
CHECK(it != countries_.end())
auto *country = it->second.get();
load_country_list(language_code, country->hash, Auto());
load_country_list(language_code, country->hash, {});
return country;
}
return nullptr;
Expand All @@ -460,7 +460,7 @@ const CountryInfoManager::CountryList *CountryInfoManager::get_country_list(cons
auto *country = it->second.get();
CHECK(country != nullptr);
if (country->next_reload_time < Time::now()) {
load_country_list(language_code, country->hash, Auto());
load_country_list(language_code, country->hash, {});
}

return country;
Expand Down
Loading

0 comments on commit ab3e695

Please sign in to comment.