summary refs log tree commit diff
path: root/synapse/rest/client/notifications.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the proper serialization format when bundling aggregations. (#12090)Patrick Cloke2022-03-031-2/+7
| | | | This ensures that the `latest_event` field of the bundled aggregation for threads uses the same format as the other events in the response.
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Bundle aggregations outside of the serialization method. (#11612)Patrick Cloke2022-01-071-1/+1
| | | | | | | | This makes the serialization of events synchronous (and it no longer access the database), but we must manually calculate and provide the bundled aggregations. Overall this should cause no change in behavior, but is prep work for other improvements.
* Add type hints to event_push_actions. (#11594)Patrick Cloke2021-12-211-10/+10
|
* Add a constant for receipt types (m.read). (#11531)Patrick Cloke2021-12-081-1/+2
| | | And expand some type hints in the receipts storage module.
* Additional type hints for REST servlets (part 2). (#10674)Patrick Cloke2021-08-261-3/+10
| | | Applies the changes from #10665 to additional modules.
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-0/+91