mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Move delete-from-ToS to AuthSession.
This commit is contained in:
@@ -898,10 +898,6 @@ rpl::producer<bool> Application::termsLockValue() const {
|
||||
) | rpl::then(termsLockChanges());
|
||||
}
|
||||
|
||||
void Application::termsDeleteNow() {
|
||||
MTP::send(MTPaccount_DeleteAccount(MTP_string("Decline ToS update")));
|
||||
}
|
||||
|
||||
bool Application::locked() const {
|
||||
return passcodeLocked() || termsLocked();
|
||||
}
|
||||
|
Reference in New Issue
Block a user