From e59ea01c4df3ed1411c3ce431357b2226617ca0c Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 18 Nov 2018 01:54:25 +0300 Subject: [PATCH] Do not forse updateStatus after authorization. GitOrigin-RevId: 323778dd60fb3f438f2af466df2eb26b89471d1c --- td/telegram/AuthManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/AuthManager.cpp b/td/telegram/AuthManager.cpp index 7d1024e1c..37d7b120d 100644 --- a/td/telegram/AuthManager.cpp +++ b/td/telegram/AuthManager.cpp @@ -924,7 +924,7 @@ void AuthManager::on_authorization(tl_object_ptrshared_config().set_option_integer("session_count", auth->tmp_sessions_); } td->updates_manager_->get_difference("on_authorization"); - td->on_online_updated(true, true); + td->on_online_updated(false, true); td->schedule_get_terms_of_service(0); if (!is_bot()) { G()->td_db()->get_binlog_pmc()->set("fetched_marks_as_unread", "1");