1
0
Fork 0
mirror of https://github.com/matrix-org/dendrite.git synced 2025-02-27 13:24:29 -06:00
dendrite/federationapi/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
..
keychange.go refactor: update GMSL () 2023-04-19 15:50:33 +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
roomserver_test.go Merge federationapi, federationsender, signingkeyserver components () 2021-11-24 10:45:23 +00:00
sendtodevice.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00
typing.go refactor: update GMSL () 2023-04-19 15:50:33 +01:00