Fact check fixes

This commit is contained in:
Ilya Laktyushin 2024-05-20 20:01:40 +04:00
parent 43faf7619d
commit 4ced5da467

View File

@ -302,6 +302,7 @@ private func contentNodeMessagesAndClassesForItem(_ item: ChatMessageItem) -> ([
for attribute in message.attributes {
if let attribute = attribute as? FactCheckMessageAttribute, case .Loaded = attribute.content {
result.append((message, ChatMessageFactCheckBubbleContentNode.self, itemAttributes, BubbleItemAttributes(isAttachment: false, neighborType: .text, neighborSpacing: .default)))
needReactions = false
break
}
}