mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Fix bad mime type for encrypted thumbnail
This commit is contained in:
parent
b73d3b15f8
commit
e149ee53de
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ internal class UploadContentWorker(context: Context, params: WorkerParameters) :
|
|||
uploadedThumbnailEncryptedFileInfo = encryptionResult.encryptedFileInfo
|
||||
|
||||
fileUploader
|
||||
.uploadByteArray(encryptionResult.encryptedByteArray, "thumb_${attachment.name}", thumbnailData.mimeType)
|
||||
.uploadByteArray(encryptionResult.encryptedByteArray, "thumb_${attachment.name}", "application/octet-stream")
|
||||
} else {
|
||||
fileUploader
|
||||
.uploadByteArray(thumbnailData.bytes, "thumb_${attachment.name}", thumbnailData.mimeType)
|
||||
|
|
Loading…
Reference in a new issue