mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Use refs in AuthSession part getters.
Also use only AuthSession data for Contacts/Dialogs loaded state.
This commit is contained in:
@@ -46,7 +46,7 @@ UserData *AuthSession::CurrentUser() {
|
||||
}
|
||||
|
||||
base::Observable<void> &AuthSession::CurrentDownloaderTaskFinished() {
|
||||
return Current().downloader()->taskFinished();
|
||||
return Current().downloader().taskFinished();
|
||||
}
|
||||
|
||||
bool AuthSession::validateSelf(const MTPUser &user) {
|
||||
|
Reference in New Issue
Block a user