dendrite/userapi
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
..
api Use /admin/v1/register in create-account (#2484) 2022-08-12 12:00:07 +01:00
consumers Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
internal Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
inthttp Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
producers Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
storage Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
types
util
userapi_test.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
userapi.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00