mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add new animations engine.
This commit is contained in:
@@ -9,7 +9,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
|
||||
#include "apiwrap.h"
|
||||
#include "core/application.h"
|
||||
#include "core/sandbox.h"
|
||||
#include "core/changelogs.h"
|
||||
#include "storage/file_download.h"
|
||||
#include "storage/file_upload.h"
|
||||
@@ -430,8 +429,7 @@ AuthSession::AuthSession(const MTPUser &user)
|
||||
}
|
||||
|
||||
bool AuthSession::Exists() {
|
||||
return Core::Sandbox::Instance().applicationLaunched()
|
||||
&& (Core::App().authSession() != nullptr);
|
||||
return Core::IsAppLaunched() && (Core::App().authSession() != nullptr);
|
||||
}
|
||||
|
||||
base::Observable<void> &AuthSession::downloaderTaskFinished() {
|
||||
|
Reference in New Issue
Block a user