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:
@@ -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})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user