Various fixes

This commit is contained in:
Ilya Laktyushin
2024-04-09 17:12:54 +04:00
parent 2f445b8144
commit 58b5550796
4 changed files with 72 additions and 18 deletions

View File

@@ -481,7 +481,7 @@ public final class ChatMessageWebpageBubbleContentNode: ChatMessageBubbleContent
}
for attribute in webpage.attributes {
if case let .stickerPack(stickerPack) = attribute, !stickerPack.files.isEmpty {
mediaAndFlags = (stickerPack.files, .preferMediaInline)
mediaAndFlags = (stickerPack.files, [.preferMediaInline, .stickerPack])
break
}
}