mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Request, show and require accept for updated ToS.
This commit is contained in:
@@ -217,8 +217,8 @@ void SignupWidget::submit() {
|
||||
rpcFail(&SignupWidget::nameSubmitFail));
|
||||
};
|
||||
if (_termsAccepted
|
||||
|| getData()->termsText.text.isEmpty()
|
||||
|| !getData()->termsPopup) {
|
||||
|| getData()->termsLock.text.text.isEmpty()
|
||||
|| !getData()->termsLock.popup) {
|
||||
send();
|
||||
} else {
|
||||
acceptTerms(crl::guard(this, [=] {
|
||||
|
Reference in New Issue
Block a user