0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-10 05:01:41 +02:00
dendrite/roomserver/internal
Kegsay 002fe05a20
Add PerformInvite and refactor how errors get handled (#1158)
* 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
2020-06-24 15:06:14 +01:00
..
alias.go
api.go More flexible caching (#1101) 2020-06-05 16:42:01 +01:00
input.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
input_authevents.go
input_authevents_test.go
input_events.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
input_latest_events.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
input_membership.go
perform_backfill.go Roomserver API changes (#1118) 2020-06-11 19:50:40 +01:00
perform_invite.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
perform_join.go Add PerformInvite and refactor how errors get handled (#1158) 2020-06-24 15:06:14 +01:00
perform_leave.go Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
query.go Minor perf/debugging improvements (#1121) 2020-06-12 15:11:33 +01:00
query_test.go