mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Fixed file reference refresh for user personal and fallback photos.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user