4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-01-12 10:26:34 +00:00
dendrite/syncapi/consumers
kegsay f5b3144dc3
Use PDU not *Event in HeaderedEvent ()
Requires https://github.com/matrix-org/gomatrixserverlib/pull/376

This has numerous upsides:
 - Less type casting to `*Event` is required.
- Making Dendrite work with `PDU` interfaces means we can swap out Event
impls more easily.
 - Tests which represent weird event shapes are easier to write.

Part of a series of refactors on GMSL.
2023-05-02 15:03:16 +01:00
..
clientapi.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
keychange.go Merge keyserver & userapi () 2023-02-20 14:58:03 +01:00
presence.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
receipts.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
roomserver.go Use PDU not *Event in HeaderedEvent () 2023-05-02 15:03:16 +01:00
sendtodevice.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
typing.go Transactional isolation for /sync () 2022-09-30 12:48:10 +01:00
userapi.go Transactional isolation for /sync () 2022-09-30 12:48:10 +01:00