2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Fixed incorrect state of disabled calls for account in notifications.

This commit is contained in:
23rd
2025-08-03 19:19:32 +03:00
committed by John Preston
parent 67079545b3
commit 56be0ef4be
2 changed files with 3 additions and 5 deletions

View File

@@ -1086,6 +1086,8 @@ void SetupNotificationsContent(
container,
tr::lng_settings_notifications_calls_title());
const auto authorizations = &session->api().authorizations();
// Request valid value of calls disabled flag.
authorizations->reload();
const auto acceptCalls = addCheckbox(
tr::lng_settings_call_accept_calls(),
{ &st::menuIconCallsReceive },