2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +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);
} else if (document) {
if (document->sticker()) {
const auto skipPremiumEffect = false;
const auto skipPremiumEffect = true;
return std::make_unique<UnwrappedMedia>(
parent,
std::make_unique<Sticker>(