Skip to content

Commit

Permalink
Emoji fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
laktyushin committed Aug 4, 2022
1 parent 551674a commit 455a3f8
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 455a3f8

Please sign in to comment.