mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Moved AppClass to messenger.cpp:Messenger.
This commit is contained in:
@@ -21,14 +21,14 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
#include "stdafx.h"
|
||||
#include "auth_session.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "messenger.h"
|
||||
|
||||
AuthSession::AuthSession(UserId userId) : _userId(userId) {
|
||||
t_assert(_userId != 0);
|
||||
}
|
||||
|
||||
AuthSession *AuthSession::Current() {
|
||||
return AppClass::Instance().authSession();
|
||||
return Messenger::Instance().authSession();
|
||||
}
|
||||
|
||||
UserData *AuthSession::CurrentUser() {
|
||||
|
Reference in New Issue
Block a user