diff --git a/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go b/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go index 239eb294d..6dbc00228 100644 --- a/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go +++ b/src/github.com/matrix-org/dendrite/mediaapi/writers/download.go @@ -94,9 +94,6 @@ func Download(w http.ResponseWriter, req *http.Request, serverName string, media return } - // TODO: - // - query db to look up content type and disposition and whether we have the file - logger.Warnln(r.MediaID, r.ServerName, cfg.ServerName) contentType, contentDisposition, fileSize, filename, err := db.GetMedia(r.MediaID, r.ServerName) if err != nil { if strings.Compare(r.ServerName, cfg.ServerName) != 0 {