Fixed file reference refresh for user personal and fallback photos.

This commit is contained in:
23rd
2026-04-06 10:35:54 +03:00
parent 8346a90d65
commit 8decb55e51
2 changed files with 17 additions and 1 deletions

View File

@@ -174,7 +174,11 @@ struct FileReferenceAccumulator {
});
}
void push(const MTPusers_UserFull &data) {
push(data.data().vfull_user().data().vpersonal_photo());
const auto &full = data.data().vfull_user().data();
push(full.vpersonal_photo());
push(full.vfallback_photo());
push(full.vprofile_photo());
}
}
void push(const MTPmessages_RecentStickers &data) {
data.match([&](const MTPDmessages_recentStickers &data) {