0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 10:43:52 +01:00
dendrite/userapi/storage
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
..
postgres Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
shared Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
sqlite3 Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
tables Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
interface.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
storage.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
storage_test.go Refactor notifications (#2688) 2022-09-27 15:01:34 +02:00
storage_wasm.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00