From cf5f5f75bcc97d7972629e3b98870ff494b325af Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 11 Feb 2022 00:26:20 +0300 Subject: [PATCH] Added permanent info display to webm stickers with right action. --- Telegram/SourceFiles/history/view/media/history_view_gif.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 2ba5a47878..707a7a35c9 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -1665,6 +1665,7 @@ bool Gif::needInfoDisplay() const { return _parent->data()->isSending() || _data->uploading() || _parent->isUnderCursor() + || (_data->sticker() && _parent->rightActionSize()) // Don't show the GIF badge if this message has text. || (!_parent->hasBubble() && _parent->isLastAndSelfMessage()); }