Enable encryption and add support for loading encrypted images.

This commit is contained in:
Stefan Ceriu
2022-04-07 17:07:42 +03:00
parent 8d50d4fd25
commit e20c699298
11 changed files with 79 additions and 25 deletions
@@ -125,11 +125,11 @@ class RoomTimelineController: RoomTimelineControllerProtocol {
return
}
guard let url = timelineItem.url else {
guard let source = timelineItem.source else {
return
}
mediaProvider.loadImageFromURL(url) { [weak self] result in
mediaProvider.loadImageFromSource(source) { [weak self] result in
guard let self = self else {
return
}