From 51be272f449b58004fc3db4849ff2b4b40c0628a Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 2 Aug 2020 22:41:09 +0300 Subject: [PATCH] Remove Td::force_get_difference. GitOrigin-RevId: 7459df4d6efcb21789cb19a4ba04c90d47ecf353 --- td/telegram/Td.cpp | 8 -------- td/telegram/Td.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/td/telegram/Td.cpp b/td/telegram/Td.cpp index b6b94f653..5750654b9 100644 --- a/td/telegram/Td.cpp +++ b/td/telegram/Td.cpp @@ -3520,14 +3520,6 @@ void Td::send(NetQueryPtr &&query) { G()->net_query_dispatcher().dispatch(std::move(query)); } -void Td::force_get_difference() { - if (close_flag_) { - return; - } - - updates_manager_->get_difference("force_get_difference"); -} - void Td::on_result(NetQueryPtr query) { query->debug("Td: received from DcManager"); VLOG(net_query) << "Receive result of " << query; diff --git a/td/telegram/Td.h b/td/telegram/Td.h index dc84aae5e..c1faaeb15 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -105,8 +105,6 @@ class Td final : public NetQueryCallback { void destroy(); void close(); - void force_get_difference(); - void schedule_get_terms_of_service(int32 expires_in); void schedule_get_promo_data(int32 expires_in);