Update config after premium has changed.

This commit is contained in:
levlam 2022-05-20 15:20:54 +03:00
parent 2f186a9eeb
commit 3886e9e644

View File

@ -261,6 +261,9 @@ void OptionManager::on_option_updated(const string &name) {
G()->net_query_dispatcher().update_mtproto_header();
}
}
if (name == "is_premium") {
send_closure(td_->config_manager_, &ConfigManager::request_config);
}
break;
case 'l':
if (name == "language_pack_id") {