From 1747427bf3411089aadf5fdad0b454b2f9c1e4c6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 12 Apr 2017 19:48:24 -0700 Subject: [PATCH] upload: Fix URL for realm icons with S3 backend. --- zerver/lib/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/upload.py b/zerver/lib/upload.py index ab7abd6fd5..21cf56d205 100644 --- a/zerver/lib/upload.py +++ b/zerver/lib/upload.py @@ -322,7 +322,7 @@ class S3UploadBackend(ZulipUploadBackend): resized_data = resize_avatar(image_data) upload_image_to_s3( bucket_name, - s3_file_name, + s3_file_name + ".png", 'image/png', user_profile, resized_data,