0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-14 13:51:20 +01:00
dendrite/userapi/consumers
kegsay f5b3144dc3
Use PDU not *Event in HeaderedEvent (#3073)
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 (#3058) 2023-04-19 15:50:33 +01:00
devicelistupdate.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
roomserver.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
roomserver_test.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
signingkeyupdate.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00