[WIP] Dynamic video streaming

This commit is contained in:
Isaac
2024-09-18 01:04:29 +08:00
parent 7cbb5c784d
commit 923587b0da
141 changed files with 3365 additions and 1995 deletions

View File

@@ -216,7 +216,7 @@ func managedSynchronizeAvailableMessageEffects(postbox: Postbox, network: Networ
case let .availableEffects(hash, effects, documents):
var files: [Int64: TelegramMediaFile] = [:]
for document in documents {
if let file = telegramMediaFileFromApiDocument(document) {
if let file = telegramMediaFileFromApiDocument(document, altDocuments: []) {
files[file.fileId.id] = file
}
}