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:
@@ -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();
|
||||
}));
|
||||
});
|
||||
|
Reference in New Issue
Block a user