Remove SecretChatsManager::after_get_difference.

GitOrigin-RevId: 17f3a30e354e2e532ba3975c2d4b84f7d8c904d3
This commit is contained in:
levlam 2020-07-03 16:18:23 +03:00
parent 684727a05f
commit c4113c6be3
3 changed files with 0 additions and 8 deletions

View File

@ -209,12 +209,6 @@ void SecretChatsManager::before_get_difference(int32 qts) {
// We will receive all updates later than qts anyway. // We will receive all updates later than qts anyway.
} }
void SecretChatsManager::after_get_difference() {
if (dummy_mode_ || close_flag_) {
return;
}
}
void SecretChatsManager::on_update_chat(tl_object_ptr<telegram_api::updateEncryption> update) { void SecretChatsManager::on_update_chat(tl_object_ptr<telegram_api::updateEncryption> update) {
if (dummy_mode_ || close_flag_) { if (dummy_mode_ || close_flag_) {
return; return;

View File

@ -34,7 +34,6 @@ class SecretChatsManager : public Actor {
// we can forget all pending_updates after start_get_difference they will be received after this point anyway // we can forget all pending_updates after start_get_difference they will be received after this point anyway
// It is not necessary, but it will help. // It is not necessary, but it will help.
void before_get_difference(int32 qts); void before_get_difference(int32 qts);
void after_get_difference();
// Proxy query to corrensponding SecretChatActor. // Proxy query to corrensponding SecretChatActor.
// Look for more info in SecretChatActor.h // Look for more info in SecretChatActor.h

View File

@ -1100,7 +1100,6 @@ void UpdatesManager::on_get_difference(tl_object_ptr<telegram_api::updates_Diffe
void UpdatesManager::after_get_difference() { void UpdatesManager::after_get_difference() {
CHECK(!running_get_difference_); CHECK(!running_get_difference_);
send_closure(td_->secret_chats_manager_, &SecretChatsManager::after_get_difference);
retry_timeout_.cancel_timeout(); retry_timeout_.cancel_timeout();
retry_time_ = 1; retry_time_ = 1;