Remove unused PhotoData/DocumentData in Iv::Data.

This commit is contained in:
John Preston
2026-05-22 23:43:57 +04:00
parent b5cbc26ccd
commit d91bdfcd21
3 changed files with 3 additions and 13 deletions
+1 -3
View File
@@ -4245,9 +4245,7 @@ void Session::webpageApplyFields(
? std::make_unique<Iv::Data>(
data,
*cachedPage,
Iv::ParseRichPage(_session, *cachedPage),
ivPhoto,
ivDocument)
Iv::ParseRichPage(_session, *cachedPage))
: nullptr;
const auto resolvedPhoto = story
? story->photo()