2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use Data::CloudImage for userpics.

This commit is contained in:
John Preston
2020-05-28 18:32:10 +04:00
parent 249f7813c1
commit f066e0f05a
55 changed files with 748 additions and 284 deletions

View File

@@ -2218,10 +2218,11 @@ void History::loadUserpic() {
void History::paintUserpic(
Painter &p,
std::shared_ptr<Data::CloudImageView> &view,
int x,
int y,
int size) const {
peer->paintUserpic(p, x, y, size);
peer->paintUserpic(p, view, x, y, size);
}
void History::startBuildingFrontBlock(int expectedItemsCount) {