0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-15 06:11:08 +01:00
dendrite/userapi
Will Hunt a2773922d2
Send events to appservice based on room membership (#1680)
* Check membership of room

* Use QueryStateAfterEventsResponse

* Fix complexity

* 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

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-03-03 16:27:44 +00:00
..
api Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
internal Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
inthttp Update last seen on sync requests (#1593) 2020-11-20 11:29:02 +00:00
storage Fix user registration bug (#1777) 2021-03-02 10:43:25 +00:00
userapi.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
userapi_test.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00