Remove SecretChatsManager::after_get_difference.
GitOrigin-RevId: 17f3a30e354e2e532ba3975c2d4b84f7d8c904d3
This commit is contained in:
parent
684727a05f
commit
c4113c6be3
@ -209,12 +209,6 @@ void SecretChatsManager::before_get_difference(int32 qts) {
|
||||
// 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) {
|
||||
if (dummy_mode_ || close_flag_) {
|
||||
return;
|
||||
|
@ -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
|
||||
// It is not necessary, but it will help.
|
||||
void before_get_difference(int32 qts);
|
||||
void after_get_difference();
|
||||
|
||||
// Proxy query to corrensponding SecretChatActor.
|
||||
// Look for more info in SecretChatActor.h
|
||||
|
@ -1100,7 +1100,6 @@ void UpdatesManager::on_get_difference(tl_object_ptr<telegram_api::updates_Diffe
|
||||
|
||||
void UpdatesManager::after_get_difference() {
|
||||
CHECK(!running_get_difference_);
|
||||
send_closure(td_->secret_chats_manager_, &SecretChatsManager::after_get_difference);
|
||||
|
||||
retry_timeout_.cancel_timeout();
|
||||
retry_time_ = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user