Commit graph

3 commits

Author SHA1 Message Date
Neil Alexander 1802bdb2d8
Actually the switch is less clear 2022-10-19 12:43:44 +01:00
Neil Alexander b2c6e7d4fe
Allow m.read.private to clear notifications 2022-10-19 12:41:50 +01:00
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