Drop reopen_sessions_after_get_config_ after successful session reopen.
This commit is contained in:
parent
ce76e164a9
commit
c41fb7f6df
@ -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_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user