2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Rename AuthSession to Main::Session.

This commit is contained in:
John Preston
2019-07-24 13:45:24 +02:00
parent 06982fdf04
commit ff44094ded
201 changed files with 543 additions and 477 deletions

View File

@@ -18,7 +18,7 @@ Controller::Controller(not_null<Main::Account*> account)
: _account(account)
, _widget(this) {
_account->sessionValue(
) | rpl::start_with_next([=](AuthSession *session) {
) | rpl::start_with_next([=](Main::Session *session) {
_sessionController = session
? std::make_unique<SessionController>(session, &_widget)
: nullptr;