From 45250096ad60ecc731bc70ada02106dd2e704749 Mon Sep 17 00:00:00 2001 From: LDA Date: Sun, 13 Apr 2025 10:23:51 +0000 Subject: [PATCH] [FIX] argh --- src/AS/Media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AS/Media.c b/src/AS/Media.c index 65f049c..5fbc659 100644 --- a/src/AS/Media.c +++ b/src/AS/Media.c @@ -150,7 +150,7 @@ ASGetMIMESHA(const ParseeConfig *c, char *mxc, char **mime, char **sha) return false; } - path = StrConcat(3, "/_matrix/media/v3/download/", uri->host, uri->path); + path = StrConcat(3, "/_matrix/client/v1/media/download/", uri->host, uri->path); cctx = ParseeCreateRequest(c, HTTP_GET, path); ASAuthenticateRequest(c, cctx); HttpRequestSendHeaders(cctx); @@ -195,7 +195,7 @@ ASGrab(const ParseeConfig *c, char *mxc, char **mime, char **out, size_t *len) return false; } - path = StrConcat(3, "/_matrix/media/v3/download/", uri->host, uri->path); + path = StrConcat(3, "/_matrix/client/v1/media/download/", uri->host, uri->path); cctx = ParseeCreateRequest(c, HTTP_GET, path); ASAuthenticateRequest(c, cctx); HttpRequestSendHeaders(cctx);