2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Switch to the server side changelogs.

This commit is contained in:
John Preston
2017-06-05 16:33:45 +03:00
parent d9785f6071
commit 5d0e89db5d
15 changed files with 41 additions and 65 deletions

View File

@@ -155,7 +155,7 @@ QString AuthSessionData::getSoundPath(const QString &key) const {
AuthSession::AuthSession(UserId userId)
: _userId(userId)
, _autoLockTimer([this] { checkAutoLock(); })
, _api(std::make_unique<ApiWrap>())
, _api(std::make_unique<ApiWrap>(this))
, _calls(std::make_unique<Calls::Instance>())
, _downloader(std::make_unique<Storage::Downloader>())
, _notifications(std::make_unique<Window::Notifications::System>(this)) {
@@ -167,6 +167,7 @@ AuthSession::AuthSession(UserId userId)
_shouldLockAt = 0;
notifications().updateAll();
});
_api->start();
}
bool AuthSession::Exists() {