0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-24 18:43:45 +01:00
dendrite/userapi/consumers
Till 249b32c4f3
Refactor notifications (#2688)
This PR changes the handling of notifications
- removes the `StreamEvent` and `ReadUpdate` stream
- listens on the `OutputRoomEvent` stream in the UserAPI to inform the
SyncAPI about unread notifications
- listens on the `OutputReceiptEvent` stream in the UserAPI to set
receipts/update notifications
- sets the `read_markers` directly from within the internal UserAPI

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-09-27 15:01:34 +02:00
..
clientapi.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
roomserver.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
roomserver_test.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00