0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-09-24 20:08:57 +02:00
dendrite/appservice
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
consumers Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
inthttp
query
storage
types
workers Send events to appservice based on room membership (#1680) 2021-03-03 16:27:44 +00:00
appservice.go Graceful shutdowns (#1734) 2021-01-26 12:56:20 +00:00
README.md

Application Service

This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.

Consumers

This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.