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
@@ -32,8 +32,8 @@ struct ImageRoomMessage: RoomMessageProtocol {
Date(timeIntervalSince1970: TimeInterval(message.baseMessage().originServerTs()))
}
var url: String? {
message.url()
var source: MediaSource? {
MediaSource(source: message.source())
}
var width: CGFloat? {