Drop reopen_sessions_after_get_config_ after successful session reopen.

This commit is contained in:
levlam 2023-05-09 01:08:45 +03:00
parent ce76e164a9
commit c41fb7f6df

View File

@ -1331,6 +1331,7 @@ void ConfigManager::on_result(NetQueryPtr res) {
process_config(r_config.move_as_ok()); process_config(r_config.move_as_ok());
if (token == 9) { if (token == 9) {
G()->net_query_dispatcher().update_mtproto_header(); G()->net_query_dispatcher().update_mtproto_header();
reopen_sessions_after_get_config_ = false;
} }
set_promises(reget_config_queries_); set_promises(reget_config_queries_);
} }