diff --git a/api/r0/thumbnail.go b/api/r0/thumbnail.go index 7c06aca174efe3413ba7103fc1fcb458259f9ae1..b1b73f01a6a8b072c53eed0961a157b363c6e691 100644 --- a/api/r0/thumbnail.go +++ b/api/r0/thumbnail.go @@ -39,6 +39,9 @@ func ThumbnailMedia(r *http.Request, rctx rcontext.RequestContext, user api.User heightStr := r.URL.Query().Get("height") method := r.URL.Query().Get("method") animatedStr := r.URL.Query().Get("animated") + if animatedStr == "" { + animatedStr = r.URL.Query().Get("org.matrix.msc2705.animated") + } if widthStr == "" || heightStr == "" { return api.BadRequest("Width and height are required")