0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 12:23:49 +01:00
dendrite/clientapi/routing
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
..
account_data.go Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
admin_whois.go Implemented whois endpoint (#1573) 2020-11-17 10:07:03 +00:00
auth_fallback.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
capabilities.go Finish implementing the capabilities endpoint (#1449) 2020-09-29 10:06:59 +01:00
createroom.go Implement /createRoom power_level_content_override (#1761) 2021-02-12 09:43:31 +00:00
deactivate.go Implement account deactivation (#1455) 2020-10-02 17:18:20 +01:00
device.go Add last_seen_ip and last_seen_ts to /devices response (#1592) 2020-11-20 09:26:50 +00:00
directory.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
directory_public.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
directory_public_test.go Implement ExtraPublicRoomsProvider for p2p demos (#1180) 2020-07-03 12:59:00 +01:00
getevent.go Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
joinroom.go Return 200 on join before time out (#1493) 2020-10-07 15:29:14 +01:00
keys.go Return the current OTK count on an empty upload request (#1774) 2021-03-02 11:40:20 +00:00
leaveroom.go Make userapi responsible for checking access tokens (#1133) 2020-06-16 14:10:55 +01:00
login.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
logout.go Remove device DB from clientapi (#1352) 2020-08-27 18:53:40 +01:00
membership.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
memberships.go Don't send null in joined_rooms response (#1659) 2020-12-18 13:33:08 +00:00
password.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
peekroom.go Peeking updates (#1607) 2020-12-03 11:11:46 +00:00
profile.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
rate_limiting.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
receipt.go Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
redaction.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
register.go Fix /register 2020-12-18 14:51:30 +00:00
register_test.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
room_tagging.go Refactor account data (#1150) 2020-06-18 18:36:03 +01:00
routing.go Gate peeking behind msc flags (#1731) 2021-01-22 16:08:47 +00:00
sendevent.go Add CS sendevent metrics 2020-12-17 10:52:31 +00:00
sendtodevice.go Make userapi responsible for checking access tokens (#1133) 2020-06-16 14:10:55 +01:00
sendtyping.go Remove QueryCurrentState from current-state-server (#1395) 2020-09-04 12:30:56 +01:00
state.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
threepid.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
userdirectory.go Remove QueryKnownUsers from current state server (#1393) 2020-09-04 11:46:01 +01:00
voip.go Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
whoami.go Make userapi responsible for checking access tokens (#1133) 2020-06-16 14:10:55 +01:00