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

@@ -24,7 +24,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/shortcuts.h"
#include "core/sandbox.h"
#include "core/application.h"
#include "auth_session.h"
#include "main/main_session.h"
#include "intro/introwidget.h"
#include "main/main_account.h" // Account::sessionValue.
#include "mainwidget.h"
@@ -83,7 +83,7 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
setLocale(QLocale(QLocale::English, QLocale::UnitedStates));
account().sessionValue(
) | rpl::start_with_next([=](AuthSession *session) {
) | rpl::start_with_next([=](Main::Session *session) {
updateGlobalMenu();
if (!session) {
_mediaPreview.destroy();