Skip to content

Commit

Permalink
Merge commit '455a3f89d5e735ba67ec9f7a240519d4eb78fad7' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
laktyushin committed Aug 4, 2022
2 parents bbe1dc4 + 455a3f8 commit 1423d53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class ChatMessageAnimatedStickerItemNode: ChatMessageItemView {
emojiFile = item.associatedData.animatedEmojiStickers[emoji.strippedEmoji]?.first?.file
}

if item.message.text.count == 1 && emojiFile != nil {
if item.message.text.count == 1, item.message.associatedMedia.isEmpty && emojiFile != nil {
emojiString = nil
} else if emojiString != nil {
emojiFile = nil
Expand Down

0 comments on commit 1423d53

Please sign in to comment.