thumbnail: Still emoji are always pngs.

This commit is contained in:
Alex Vandiver
2024-07-11 19:14:46 +00:00
committed by Tim Abbott
parent 6110ac7339
commit 54f2fabac0
2 changed files with 20 additions and 10 deletions

View File

@@ -371,7 +371,7 @@ def upload_emoji_image(
realm_id=user_profile.realm_id,
emoji_filename_without_extension=os.path.splitext(emoji_file_name)[0],
)
backend.upload_single_emoji_image(still_path, content_type, user_profile, still_image_data)
backend.upload_single_emoji_image(still_path, "image/png", user_profile, still_image_data)
return True