mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various Fixes
This commit is contained in:
@@ -100,7 +100,15 @@ public func chatListItemStrings(strings: PresentationStrings, nameDisplayOrder:
|
||||
textIsReady = true
|
||||
}
|
||||
case .generic:
|
||||
break
|
||||
var messageTypes = Set<MessageGroupType>()
|
||||
for message in messages {
|
||||
messageTypes.insert(singleMessageType(message: message))
|
||||
}
|
||||
if messageTypes.count == 2 && messageTypes.contains(.photos) && messageTypes.contains(.videos) {
|
||||
if !messageText.isEmpty {
|
||||
textIsReady = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user