2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +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

@@ -86,8 +86,22 @@ public:
QString exceptionBoxTitle(Exception exception) override;
rpl::producer<QString> exceptionsDescription() override;
Fn<void()> setupAdditional(
not_null<Ui::VerticalLayout*> container) override;
};
class CallsPeer2PeerPrivacyController : public EditPrivacyBox::Controller, private base::Subscriber {
public:
using Option = EditPrivacyBox::Option;
using Exception = EditPrivacyBox::Exception;
Key key() override;
MTPInputPrivacyKey apiKey() override;
QString title() override;
LangKey optionsTitleKey() override;
rpl::producer<QString> warning() override;
LangKey exceptionButtonTextKey(Exception exception) override;
QString exceptionBoxTitle(Exception exception) override;
rpl::producer<QString> exceptionsDescription() override;
};