mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Toggle calls controls using config and user flags.
Also use calls timeout values from config. Also request config each time when the auth session changes.
This commit is contained in:
@@ -4893,6 +4893,10 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
|
||||
Messenger::Instance().dcOptions()->addFromList(d.vdc_options);
|
||||
} break;
|
||||
|
||||
case mtpc_updateConfig: {
|
||||
Messenger::Instance().mtp()->configLoadRequest();
|
||||
} break;
|
||||
|
||||
case mtpc_updateUserPhone: {
|
||||
auto &d = update.c_updateUserPhone();
|
||||
if (auto user = App::userLoaded(d.vuser_id.v)) {
|
||||
|
Reference in New Issue
Block a user