0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-18 10:53:45 +01:00
dendrite/federationapi/routing
Will Hunt 9557ccada4
Fix appsevice alias queries part 2 (#1684)
* Check membership of room

* Use QueryStateAfterEventsResponse

* Fix complexity

* Add field ShouldHitAppservice to GetRoomIDForAlias

* Hit appservice when trying to join a non-existent alias

* remove unused

* Changes that I made a long time ago

* Rename to appserviceJoinedAtEvent

* Check membership in GetMemberships

* Update QueryMembershipsForRoom

* Tweaks in client API

* Update appserviceJoinedAtEvent

* Comments

* Try QueryMembershipForUser instead

* Undo some changes to client API that shouldn't be needed

* More /event tweaks

* Refactor /event bit

* Go back to QueryMembershipsForRoom because appservices are hard

* Fix bugs in onMessage

* Add comments

* More logical naming, clean up a bit

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-03-03 17:00:31 +00:00
..
backfill.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
devices.go Use [] not null when there are no devices (#1480) 2020-10-06 11:05:15 +01:00
eventauth.go Consolidation of roomserver APIs (#994) 2020-05-01 10:48:17 +01:00
events.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
invite.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
join.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
keys.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
leave.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
missingevents.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
peek.go Peeking over federation via MSC2444 (#1391) 2021-01-22 14:55:08 +00:00
profile.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
publicrooms.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
query.go Fix appsevice alias queries part 2 (#1684) 2021-03-03 17:00:31 +00:00
routing.go Gate peeking behind msc flags (#1731) 2021-01-22 16:08:47 +00:00
send.go Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783) 2021-03-03 14:35:57 +00:00
send_test.go MSC2836 threading: part 2 (#1596) 2020-12-04 14:11:01 +00:00
state.go Pass pointers to events — reloaded (#1583) 2020-11-16 15:44:53 +00:00
threepid.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
version.go Version imprint (#1383) 2020-09-02 16:18:08 +01:00