2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Access _authSession through activeAccount().

This commit is contained in:
John Preston
2019-06-05 23:41:51 +03:00
parent bd2e1ceb02
commit 94c4ea6174
10 changed files with 93 additions and 54 deletions

View File

@@ -34,8 +34,8 @@ constexpr auto kWaitingForAllGroupedDelay = crl::time(1000);
} // namespace
System::System(AuthSession *session)
: _authSession(session)
System::System(not_null<AuthSession*> session)
: _session(session)
, _waitTimer([=] { showNext(); })
, _waitForAllGroupedTimer([=] { showGrouped(); }) {
createManager();