mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Allow all messages silent in support mode.
This commit is contained in:
@@ -1419,6 +1419,20 @@ void SetupSupport(
|
||||
controller->session().saveSettingsDelayed();
|
||||
}, inner->lifetime());
|
||||
|
||||
inner->add(
|
||||
object_ptr<Ui::Checkbox>(
|
||||
inner,
|
||||
"Send all messages without sound",
|
||||
controller->session().settings().supportAllSilent(),
|
||||
st::settingsCheckbox),
|
||||
st::settingsSendTypePadding
|
||||
)->checkedChanges(
|
||||
) | rpl::start_with_next([=](bool checked) {
|
||||
controller->session().settings().setSupportAllSilent(
|
||||
checked);
|
||||
controller->session().saveSettingsDelayed();
|
||||
}, inner->lifetime());
|
||||
|
||||
AddSkip(inner, st::settingsCheckboxesSkip);
|
||||
|
||||
AddSubsectionTitle(inner, rpl::single(qsl("Load chats for a period")));
|
||||
|
Reference in New Issue
Block a user