mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +00:00
002fe05a20
* Add PerformInvite and refactor how errors get handled - Rename `JoinError` to `PerformError` - Remove `error` from the API function signature entirely. This forces errors to be bundled into `PerformError` which makes it easier for callers to detect and handle errors. On network errors, HTTP clients will make a `PerformError`. * Unbreak everything; thanks Go! * Send back JSONResponse according to the PerformError * Update federation invite code too |
||
---|---|---|
.. | ||
routing | ||
federationapi_test.go | ||
federationapi.go |