1
0
Fork 0

update mxc2http

This commit is contained in:
tastytea 2022-08-29 18:04:34 +02:00
parent 17b80ed4ea
commit df0eb72325
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -20,5 +20,5 @@ for url in ${urls}; do
[[ ${#o_server} -eq 2 ]] && server=${o_server[2]}
local id=${url##*/}
print '\e[1;95m→\e[0m' \
"https://${server}/_matrix/media/r0/download/${domain}/${id}"
"https://${server}/_matrix/media/v3/download/${domain}/${id}"
done