mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
no message
This commit is contained in:
@@ -107,18 +107,12 @@ class ChatMessageContactBubbleContentNode: ChatMessageBubbleContentNode {
|
||||
sentViaBot = true
|
||||
}
|
||||
}
|
||||
|
||||
var dateText = stringForMessageTimestamp(timestamp: item.message.timestamp, timeFormat: item.presentationData.timeFormat)
|
||||
|
||||
if let author = item.message.author as? TelegramUser {
|
||||
if author.botInfo != nil {
|
||||
sentViaBot = true
|
||||
}
|
||||
if let peer = item.message.peers[item.message.id.peerId] as? TelegramChannel, case .broadcast = peer.info {
|
||||
dateText = "\(author.displayTitle), \(dateText)"
|
||||
}
|
||||
if let author = item.message.author as? TelegramUser, author.botInfo != nil {
|
||||
sentViaBot = true
|
||||
}
|
||||
|
||||
let dateText = stringForMessageTimestampStatus(message: item.message, timeFormat: item.presentationData.timeFormat, strings: item.presentationData.strings)
|
||||
|
||||
let statusType: ChatMessageDateAndStatusType?
|
||||
switch position {
|
||||
case .linear(_, .None):
|
||||
|
||||
Reference in New Issue
Block a user