2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

FIX: uploading an animated user card/profile background was converted to a still image

This commit is contained in:
Régis Hanol 2015-09-20 22:01:03 +02:00
parent 7b94dc8586
commit a3831a7003
5 changed files with 24 additions and 6 deletions

View file

@ -108,7 +108,8 @@ class UserAvatarsController < ApplicationController
upload,
size,
size,
allow_animation: SiteSetting.allow_animated_avatars
filename: upload.original_filename,
allow_animation: SiteSetting.allow_animated_avatars,
)
end