Update config after premium has changed.
This commit is contained in:
parent
2f186a9eeb
commit
3886e9e644
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user