2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme to layer178, ads broke build.

This commit is contained in:
John Preston
2024-04-10 23:16:46 +04:00
parent 7387dfdd9c
commit ac15990b48
5 changed files with 33 additions and 15 deletions

View File

@@ -3478,7 +3478,9 @@ void Session::webpageApplyFields(
const auto result = attribute.match([&](
const MTPDwebPageAttributeTheme &data) {
return lookupInAttribute(data);
}, [&](const MTPDwebPageAttributeStory &data) {
}, [](const MTPDwebPageAttributeStory &) {
return (DocumentData*)nullptr;
}, [](const MTPDwebPageAttributeStickerSet &) {
return (DocumentData*)nullptr;
});
if (result) {