mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use refs in AuthSession part getters.
Also use only AuthSession data for Contacts/Dialogs loaded state.
This commit is contained in:
@@ -1168,7 +1168,7 @@ void MediaView::displayPhoto(PhotoData *photo, HistoryItem *item) {
|
||||
}
|
||||
|
||||
_zoomToScreen = 0;
|
||||
AuthSession::Current().downloader()->clearPriorities();
|
||||
AuthSession::Current().downloader().clearPriorities();
|
||||
_full = -1;
|
||||
_current = QPixmap();
|
||||
_down = OverNone;
|
||||
|
Reference in New Issue
Block a user