From c72832b4629c35e25e8aa40074e931736d61d3bb Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 19 Jun 2019 02:44:58 +0300 Subject: [PATCH] Fix skipping channel difference for inaccessible channels. GitOrigin-RevId: 15d78b8ea6b20c7544f121baf9179deacca94d0d --- td/telegram/MessagesManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index fb292ae64..49c6cea9c 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -25135,6 +25135,7 @@ void MessagesManager::do_get_channel_difference(DialogId dialog_id, int32 pts, b if (!have_access) { LOG(INFO) << "Skip running channels.getDifference for " << dialog_id << " from " << source << " because have no read access to it"; + active_get_channel_differencies_.erase(dialog_id); after_get_channel_difference(dialog_id, false); return; }