fix: Only fall back to legacy media when response is M_UNRECOGNIZED #1298

Merged
nex merged 4 commits from nex/fix/remote-media-spec into main 2026-01-18 15:22:15 +00:00

4 commits

Author SHA1 Message Date
nex
fc9f3879ca
chore: Fixup typos
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 3m35s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 5m6s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 16m35s
2026-01-18 13:07:02 +00:00
6afef9f678
fix: Remove homebrewed error mangling for correctness
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m35s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m44s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-01-18 12:59:11 +00:00
5293a50a42
chore: Add news fragment
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 3m14s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m47s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
2026-01-18 12:46:43 +00:00
dae3ea09f5
fix: Only fall back to legacy media when response is M_UNRECOGNIZED
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 1m20s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 4m9s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been cancelled
https://spec.matrix.org/v1.17/server-server-api/#content-repository
Previously we would fall back for ALL
auth media errors.
2026-01-18 12:13:56 +00:00