0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-13 21:31:08 +01:00
dendrite/roomserver/internal/input
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
..
input.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
input_events.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
input_events_test.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
input_latest_events.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
input_membership.go refactor: update GMSL (#3058) 2023-04-19 15:50:33 +01:00
input_missing.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00
input_test.go Use PDU not *Event in HeaderedEvent (#3073) 2023-05-02 15:03:16 +01:00