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:
parent
7b94dc8586
commit
a3831a7003
5 changed files with 24 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue