Commit graph

5 commits

Author SHA1 Message Date
Till Faelligen f866f29d98
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/usagestats 2022-10-19 06:46:35 +02:00
Neil Alexander 3aa92efaa3
Namespace user API tables (#2806)
This migrates all the various user API tables, indices and sequences to
be `userapi_`-namespaced, rather than the mess they are all now.
2022-10-18 15:59:08 +01:00
Till Faelligen 264789ddb9
Rename table, also report active rooms 2022-09-29 12:52:34 +02:00
Till Faelligen 767e223c60
Add tests 2022-09-29 11:15:13 +02: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
Renamed from userapi/consumers/syncapi_streamevent_test.go (Browse further)