Use WebP for compressing images.

This commit is contained in:
akwizgran
2021-05-21 12:38:57 +01:00
parent aabb0bfb4a
commit a5972e26fe
5 changed files with 10 additions and 9 deletions

View File

@@ -316,7 +316,7 @@ public class TestDataCreatorImpl implements TestDataCreator {
Message m;
try {
m = avatarMessageEncoder.encodeUpdateMessage(groupId, 0,
"image/jpeg", is).getFirst();
TestAvatarCreator.MIME_TYPE, is).getFirst();
} catch (IOException e) {
throw new DbException(e);
}