diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-08-17 11:40:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 11:40:49 +0100 |
commit | 6cb1a65809ccfbeaede6ff164c281ba0ddf90ab7 (patch) | |
tree | 56406ef5a5d4335d03e7805c19fa35aad805871e /roomserver/api/api.go | |
parent | 6820b3e024474e2c44f7a0632261d2dc86257d77 (diff) |
Synchronous invites (#1273)
* Refactor invites to be synchronous
* Fix synchronous invites
* Fix client API return type for send invite error
* Linter
* Restore PerformError on rsAPI.PerformInvite
* Update sytest-whitelist
* Don't override PerformError with normal errors
* Fix error passing
* Un-whitelist a couple of tests
* Update sytest-whitelist
* Try to handle multiple invite rejections better
* nolint
* Update gomatrixserverlib
* Fix /v1/invite test
* Remove replace from go.mod
Diffstat (limited to 'roomserver/api/api.go')
-rw-r--r-- | roomserver/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/api/api.go b/roomserver/api/api.go index 0a5845dd..0fe30b8b 100644 --- a/roomserver/api/api.go +++ b/roomserver/api/api.go @@ -22,7 +22,7 @@ type RoomserverInternalAPI interface { ctx context.Context, req *PerformInviteRequest, res *PerformInviteResponse, - ) + ) error PerformJoin( ctx context.Context, |