mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-13 14:59:23 +00:00
Fixed animated emoji bubble type change
This commit is contained in:
parent
7b2714ede7
commit
c363f57e47
@ -41,7 +41,11 @@ enum ChatHistoryEntry: Identifiable, Comparable {
|
||||
case let .MessageEntry(message, presentationData, _, _, _, _):
|
||||
var type = 2
|
||||
if presentationData.largeEmoji && message.elligibleForLargeEmoji && messageIsElligibleForLargeEmoji(message) {
|
||||
if animatedEmojiResource(emoji: message.text) != nil {
|
||||
type = 3
|
||||
} else {
|
||||
type = 4
|
||||
}
|
||||
}
|
||||
return UInt64(message.stableId) | ((UInt64(type) << 40))
|
||||
case let .MessageGroupEntry(groupInfo, _, _):
|
||||
|
Loading…
x
Reference in New Issue
Block a user