Forcely ignore updateChat received in getDifference.

This commit is contained in:
levlam 2021-01-20 15:14:16 +03:00
parent e72c129f9c
commit 9a575cdb56
1 changed files with 4 additions and 0 deletions

View File

@ -1195,6 +1195,10 @@ void UpdatesManager::process_get_difference_updates(
CHECK(!running_get_difference_);
}
if (constructor_id == telegram_api::updateChat::ID) {
update = nullptr;
}
if (constructor_id == telegram_api::updateChannel::ID) {
update = nullptr;
}