mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Move terms lock from Core::App to Session.
This commit is contained in:
@@ -420,7 +420,7 @@ void ApiWrap::requestTermsUpdate() {
|
||||
const auto &data = result.c_help_termsOfServiceUpdate();
|
||||
const auto &terms = data.vterms_of_service();
|
||||
const auto &fields = terms.c_help_termsOfService();
|
||||
Core::App().lockByTerms(
|
||||
session().lockByTerms(
|
||||
Window::TermsLock::FromMTP(_session, fields));
|
||||
requestNext(data);
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user