mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Fix contact with empty name presentation
This commit is contained in:
@@ -90,6 +90,9 @@ class ChatMessageContactBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
} else {
|
||||
displayName = selectedContact.lastName
|
||||
}
|
||||
if displayName.isEmpty {
|
||||
displayName = item.presentationData.strings.Message_Contact
|
||||
}
|
||||
|
||||
let info: String
|
||||
if let previousContact = previousContact, previousContact.isEqual(to: selectedContact), let contactInfo = previousContactInfo {
|
||||
|
||||
Reference in New Issue
Block a user