Do not forse updateStatus after authorization.
GitOrigin-RevId: 323778dd60fb3f438f2af466df2eb26b89471d1c
This commit is contained in:
parent
a10de8fc9e
commit
e59ea01c4d
@ -924,7 +924,7 @@ void AuthManager::on_authorization(tl_object_ptr<telegram_api::auth_authorizatio
|
|||||||
G()->shared_config().set_option_integer("session_count", auth->tmp_sessions_);
|
G()->shared_config().set_option_integer("session_count", auth->tmp_sessions_);
|
||||||
}
|
}
|
||||||
td->updates_manager_->get_difference("on_authorization");
|
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);
|
td->schedule_get_terms_of_service(0);
|
||||||
if (!is_bot()) {
|
if (!is_bot()) {
|
||||||
G()->td_db()->get_binlog_pmc()->set("fetched_marks_as_unread", "1");
|
G()->td_db()->get_binlog_pmc()->set("fetched_marks_as_unread", "1");
|
||||||
|
Loading…
Reference in New Issue
Block a user