From 4b98ab1246f02d203352a83fbd21f542f12c287e Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 16 Apr 2024 19:31:45 +0400 Subject: [PATCH] Fix build with simplified ads. --- Telegram/SourceFiles/data/components/sponsored_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/data/components/sponsored_messages.cpp b/Telegram/SourceFiles/data/components/sponsored_messages.cpp index 7bab7af0e..e60c0a1d3 100644 --- a/Telegram/SourceFiles/data/components/sponsored_messages.cpp +++ b/Telegram/SourceFiles/data/components/sponsored_messages.cpp @@ -379,8 +379,8 @@ SponsoredMessages::Details SponsoredMessages::lookupDetails( return { .info = std::move(info), .link = data.link, - .photoId = data.from.photoId, .buttonText = data.from.buttonText, + .photoId = data.from.photoId, .backgroundEmojiId = data.from.backgroundEmojiId, .colorIndex = data.from.colorIndex, .isLinkInternal = data.from.isLinkInternal,