Skip to content
Snippets Groups Projects
Commit b940ddbb authored by Travis Ralston's avatar Travis Ralston
Browse files

Merge remote-tracking branch 'Sorunome/soru/default-animated'

parents aa85fd98 b029b9bd
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ func ThumbnailMedia(r *http.Request, rctx rcontext.RequestContext, user api.User
width := 0
height := 0
animated := false
animated := rctx.Config.Thumbnails.AllowAnimated && rctx.Config.Thumbnails.DefaultAnimated
if widthStr != "" {
parsedWidth, err := strconv.Atoi(widthStr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment