mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 12:15:12 +00:00
[FIX] argh
This commit is contained in:
parent
f19ff2274b
commit
45250096ad
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue