2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use cloud-based settings for p2p in calls.

This commit is contained in:
John Preston
2018-10-24 13:07:54 +04:00
parent 5174c002cf
commit 8d27d8efcf
10 changed files with 80 additions and 87 deletions

View File

@@ -300,8 +300,6 @@ void EditPrivacyBox::setupContent() {
AddLabel(content, _controller->exceptionsDescription());
AddSkip(content);
const auto saveAdditional = _controller->setupAdditional(content);
addButton(langFactory(lng_settings_save), [=] {
const auto someAreDisallowed = (_value.option != Option::Everyone)
|| !_value.never.empty();
@@ -309,9 +307,6 @@ void EditPrivacyBox::setupContent() {
Auth().api().savePrivacy(
_controller->apiKey(),
collectResult());
if (saveAdditional) {
saveAdditional();
}
closeBox();
}));
});