Support encrypted file reading & caching

Also don't convert palette images to JPEG when creating thumbnails.
This commit is contained in:
miruka
2019-11-04 14:37:25 -04:00
parent bf9ced1acd
commit 2d682516e8
9 changed files with 122 additions and 60 deletions

View File

@@ -109,6 +109,7 @@ function processedEventText(ev) {
}
if (ev.event_type.startsWith("RoomMessage")) { return ev.content }
if (ev.event_type.startsWith("RoomEncrypted")) { return ev.content }
let text = qsTr(ev.content).arg(
coloredNameHtml(ev.sender_name, ev.sender_id)