GitOrigin-RevId: 1e722a9e8ad6ddd894f9fd4e1b05529aa4aa6a15
This commit is contained in:
levlam 2020-10-10 22:02:59 +03:00
parent cebc6c1fb4
commit 84ea5b06c9
2 changed files with 1 additions and 2 deletions

View File

@ -313,7 +313,6 @@ void CountryInfoManager::on_get_country_list(const string &language_code,
void CountryInfoManager::on_get_country_list_impl(const string &language_code,
tl_object_ptr<telegram_api::help_CountriesList> country_list) {
LOG(ERROR) << to_string(country_list);
CHECK(country_list != nullptr);
auto &countries = countries_[language_code];
switch (country_list->get_id()) {

View File

@ -22168,7 +22168,7 @@ MessageId MessagesManager::get_reply_to_message_id(Dialog *d, MessageId top_thre
return message_id;
}
if (top_thread_message_id.is_valid() && top_thread_message_id.is_server() &&
get_message_force(d, top_thread_message_id, "get_reply_to_message_id 1") != nullptr) {
get_message_force(d, top_thread_message_id, "get_reply_to_message_id 3") != nullptr) {
return top_thread_message_id;
}