Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
thumbnail: Newly-thumbnailed avatars are all image/png.
Alex Vandiver4d3d3efcf126
diff --git a/zerver/migrations/0544_copy_avatar_images.py b/zerver/migrations/0544_copy_avatar_images.pyindex c95b95feda8..4d5f98eb85c 100644--- a/zerver/migrations/0544_copy_avatar_images.py+++ b/zerver/migrations/0544_copy_avatar_images.py@@ -90,8 +90,7 @@ def thumbnail_s3_avatars(users: QuerySet[Any]) -> None:continueavatar_bucket.Object(new_base + ".png").put(Metadata=metadata,- ContentDisposition=old_data["ContentDisposition"],- ContentType=old_data["ContentType"],+ ContentType="image/png",CacheControl="public, max-age=31536000, immutable",Body=small,)@@ -101,8 +100,7 @@ def thumbnail_s3_avatars(users: QuerySet[Any]) -> None:continueavatar_bucket.Object(new_base + "-medium.png").put(Metadata=metadata,- ContentDisposition=old_data["ContentDisposition"],- ContentType=old_data["ContentType"],+ ContentType="image/png",CacheControl="public, max-age=31536000, immutable",Body=medium,)