upload: Fix URL for realm icons with S3 backend.

This commit is contained in:
Tim Abbott 2017-04-12 19:48:24 -07:00
parent b6da9e86d4
commit 1747427bf3
1 changed files with 1 additions and 1 deletions

View File

@ -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,