mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use vector queues in mtproto file downloader.
This commit is contained in:
@@ -2464,7 +2464,6 @@ void InnerWidget::loadPeerPhotos() {
|
||||
|
||||
auto yFrom = _visibleTop;
|
||||
auto yTo = _visibleTop + (_visibleBottom - _visibleTop) * (PreloadHeightsCount + 1);
|
||||
session().downloader().clearPriorities();
|
||||
if (_state == WidgetState::Default) {
|
||||
auto otherStart = shownDialogs()->size() * st::dialogsRowHeight;
|
||||
if (yFrom < otherStart) {
|
||||
|
Reference in New Issue
Block a user