2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +00:00

Don't show premium effects on message previews.

This commit is contained in:
John Preston
2022-08-08 13:37:31 +03:00
parent cf4b869c27
commit 819925fc72

View File

@@ -78,7 +78,7 @@ std::unique_ptr<Media> CreateAttach(
return std::make_unique<GroupedMedia>(parent, collage); return std::make_unique<GroupedMedia>(parent, collage);
} else if (document) { } else if (document) {
if (document->sticker()) { if (document->sticker()) {
const auto skipPremiumEffect = false; const auto skipPremiumEffect = true;
return std::make_unique<UnwrappedMedia>( return std::make_unique<UnwrappedMedia>(
parent, parent,
std::make_unique<Sticker>( std::make_unique<Sticker>(