2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Show correct state of "Accept calls" checkbox.

This commit is contained in:
John Preston
2023-03-01 12:52:50 +04:00
parent d18c6591e9
commit 856c537335
3 changed files with 16 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ Calls::Calls(
not_null<Window::SessionController*> controller)
: Section(parent)
, _controller(controller) {
// Request valid value of calls disabled flag.
controller->session().api().authorizations().reload();
setupContent();
requestPermissionAndStartTestingMicrophone();
}