Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin
2022-12-17 16:09:34 +04:00
205 changed files with 1821 additions and 915 deletions

View File

@@ -407,7 +407,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
updatedImageSignal = chatMessageStickerPackThumbnail(postbox: context.account.postbox, resource: resource._asResource(), animated: true)
}
if let resourceReference = resourceReference {
updatedFetchSignal = fetchedMediaResource(mediaBox: context.account.postbox.mediaBox, reference: resourceReference)
updatedFetchSignal = fetchedMediaResource(mediaBox: context.account.postbox.mediaBox, userLocation: .other, userContentType: .other, reference: resourceReference)
|> mapError { _ -> EngineMediaResource.Fetch.Error in
return .generic
}
@@ -689,7 +689,7 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
updatedImageSignal = chatMessageStickerPackThumbnail(postbox: context.account.postbox, resource: resource._asResource(), animated: true)
}
if let resourceReference = resourceReference {
updatedFetchSignal = fetchedMediaResource(mediaBox: context.account.postbox.mediaBox, reference: resourceReference)
updatedFetchSignal = fetchedMediaResource(mediaBox: context.account.postbox.mediaBox, userLocation: .other, userContentType: .other, reference: resourceReference)
|> mapError { _ -> EngineMediaResource.Fetch.Error in
return .generic
}