mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Fixed endless memory copying in list of credits history entries.
This commit is contained in:
@@ -243,7 +243,7 @@ PaintRoundImageCallback GenerateCreditsPaintEntryCallback(
|
||||
};
|
||||
const auto state = std::make_shared<State>();
|
||||
state->view = photo->createMediaView();
|
||||
photo->load(Data::PhotoSize::Thumbnail, {});
|
||||
photo->load(Data::PhotoSize::Large, {});
|
||||
|
||||
rpl::single(rpl::empty_value()) | rpl::then(
|
||||
photo->owner().session().downloaderTaskFinished()
|
||||
|
Reference in New Issue
Block a user