Skip to content
Snippets Groups Projects
Commit c9c9c9ac authored by Taras's avatar Taras
Browse files

Remove image/webp compression

parent cec9e047
No related branches found
No related tags found
No related merge requests found
......@@ -165,6 +165,7 @@ internal class UploadContentWorker(val context: Context, params: WorkerParameter
if (attachment.type == ContentAttachmentData.Type.IMAGE &&
// Do not compress gif
attachment.mimeType != MimeTypes.Gif &&
attachment.mimeType != MimeTypes.Webp &&
params.compressBeforeSending) {
notifyTracker(params) { contentUploadStateTracker.setCompressingImage(it) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment