Fix getting invite state

This SSS API call should work on Synapse, Tuwunel, and Continuwuity.
A fallback via hierarchy is provided for Conduit.
This commit is contained in:
Cadence Ember
2026-01-30 13:43:01 +13:00
parent 0c781f9b72
commit d7f5f8bac4
4 changed files with 84 additions and 36 deletions
+1
View File
@@ -77,6 +77,7 @@ async function mreq(method, url, bodyIn, extra = {}) {
/** @type {any} */
var root = JSON.parse(text)
} catch (e) {
delete opts.headers?.["Authorization"]
throw new MatrixServerError(text, {baseUrl, url, ...opts})
}