2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

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() return _parent->data()->isSending()
|| _data->uploading() || _data->uploading()
|| _parent->isUnderCursor() || _parent->isUnderCursor()
|| (_data->sticker() && _parent->rightActionSize())
// Don't show the GIF badge if this message has text. // Don't show the GIF badge if this message has text.
|| (!_parent->hasBubble() && _parent->isLastAndSelfMessage()); || (!_parent->hasBubble() && _parent->isLastAndSelfMessage());
} }