Story covers

This commit is contained in:
Ilya Laktyushin
2024-07-19 17:43:17 +04:00
parent d8d68722ae
commit 3e448e833e
57 changed files with 1196 additions and 152 deletions

View File

@@ -1707,7 +1707,7 @@ private final class NotificationServiceHandler {
} else if let file = media as? TelegramMediaFile {
resource = file.resource
for attribute in file.attributes {
if case let .Video(_, _, _, preloadSize) = attribute {
if case let .Video(_, _, _, preloadSize, _) = attribute {
fetchSize = preloadSize.flatMap(Int64.init)
}
}