mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -580,6 +580,8 @@ class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
return .bankCard(bankCard)
|
||||
} else if let pre = attributes[NSAttributedString.Key(rawValue: TelegramTextAttributes.Pre)] as? String {
|
||||
return .copy(pre)
|
||||
} else if let emoji = attributes[NSAttributedString.Key(rawValue: ChatTextInputAttributes.customEmoji.rawValue)] as? ChatTextInputTextCustomEmojiAttribute, let file = emoji.file {
|
||||
return .customEmoji(file)
|
||||
} else {
|
||||
if let item = self.item, item.message.text.count == 1, !item.presentationData.largeEmoji {
|
||||
let (emoji, fitz) = item.message.text.basicEmoji
|
||||
|
||||
Reference in New Issue
Block a user