Added permanent info display to webm stickers with right action.

This commit is contained in:
23rd 2022-02-11 00:26:20 +03:00 committed by John Preston
parent 40875ac8ff
commit cf5f5f75bc

View file

@ -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());
}