Skip to content

Commit

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

This reverts commit 0c2b15f.
  • Loading branch information
arseny30 committed Nov 24, 2020
1 parent 0c2b15f commit 5686652
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 849 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, {});
load_country_list(language_code, country->hash, Auto());
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, {});
load_country_list(language_code, country->hash, Auto());
}

return country;
Expand Down
Loading

0 comments on commit 5686652

Please sign in to comment.