Fixed file reference refresh for media within poll.

This commit is contained in:
23rd
2026-03-28 19:09:35 +03:00
parent 75632f7c86
commit ec3d981998
2 changed files with 13 additions and 4 deletions

View File

@@ -119,6 +119,15 @@ struct FileReferenceAccumulator {
push(data.vextended_media());
}, [&](const MTPDmessageMediaPaidMedia &data) {
push(data.vextended_media());
}, [&](const MTPDmessageMediaPoll &data) {
push(data.vattached_media());
for (const auto &answer : data.vpoll().data().vanswers().v) {
answer.match([&](const MTPDpollAnswer &a) {
push(a.vmedia());
}, [](const auto &) {
});
}
push(data.vresults().data().vsolution_media());
}, [](const auto &data) {
});
}