mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Play premium sticker effects.
This commit is contained in:
@@ -414,6 +414,7 @@ not_null<UserData*> Session::processUser(const MTPUser &data) {
|
||||
| Flag::Scam
|
||||
| Flag::Fake
|
||||
| Flag::BotInlineGeo
|
||||
| Flag::Premium
|
||||
| Flag::Support
|
||||
| (!minimal
|
||||
? Flag::Contact
|
||||
@@ -2827,7 +2828,7 @@ void Session::documentApplyFields(
|
||||
? Images::FromVideoSize(_session, data, *videoThumbnailSize)
|
||||
: ImageWithLocation();
|
||||
const auto isPremiumSticker = videoThumbnailSize
|
||||
&& (videoThumbnailSize->c_videoSize().vtype().v == "fp");
|
||||
&& (videoThumbnailSize->c_videoSize().vtype().v == "f");
|
||||
documentApplyFields(
|
||||
document,
|
||||
data.vaccess_hash().v,
|
||||
|
Reference in New Issue
Block a user