mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Don't show premium effects on message previews.
This commit is contained in:
parent
cf4b869c27
commit
819925fc72
1 changed files with 1 additions and 1 deletions
|
@ -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>(
|
||||
|
|
Loading…
Add table
Reference in a new issue