aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--matrix/matrix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/matrix.go b/matrix/matrix.go
index 303184f..722883d 100644
--- a/matrix/matrix.go
+++ b/matrix/matrix.go
@@ -1055,7 +1055,7 @@ func (c *Container) GetDownloadURL(uri id.ContentURI) string {
if dlURL.Scheme == "" {
dlURL.Scheme = "https"
}
- dlURL.Path = path.Join(dlURL.Path, "/_matrix/media/v1/download", uri.Homeserver, uri.FileID)
+ dlURL.Path = path.Join(dlURL.Path, "/_matrix/media/r0/download", uri.Homeserver, uri.FileID)
return dlURL.String()
}