Update to matrix-appservice-bridge 3.x
Update to matrix-appservice-bridge
3.x.
- https://github.com/matrix-org/matrix-appservice-bridge/blob/develop/CHANGELOG.md#300-2021-09-09
- https://github.com/matrix-org/matrix-appservice-bridge/releases/tag/3.0.0-rc1
Todo
-
The tests seem to pass npm run mocha -- modules/matrix-bridge/test
-
Replace intent.getClient()
usage with eitherIntent
functions, orIntent.matrixClient
-
Fix intent
error handling, search fortry {
inmodules\matrix-bridge
- Previously in
matrix-appservice-bridge@2.x
, intent errors would beMatrixError
which haderrcode
fields directly on the object.Now inmatrix-appserice-bridge@3.x
which usesmatrix-bot-sdk
, it throws full request responses for non-200 responses, see https://github.com/turt2live/matrix-bot-sdk/blob/9b2a7abd9e3f794e65000ab8fd8352ad38b0b562/src/http.ts#L93
- Previously in
-
mxcUrlToHttp
Edited by Eric Eastwood