4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-01-12 18:36:31 +00:00
dendrite/federationapi/queue
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
..
destinationqueue.go Remove gmsl.HeaderedEvent () 2023-04-27 12:54:20 +01:00
queue_test.go Use PDU not *Event in HeaderedEvent () 2023-05-02 15:03:16 +01:00
queue.go Remove gmsl.HeaderedEvent () 2023-04-27 12:54:20 +01:00