mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
federation/pdu: add extra field to internal metadata
This commit is contained in:
parent
f131ae5aa4
commit
9f693702b0
1 changed files with 3 additions and 2 deletions
|
|
@ -54,8 +54,9 @@ var (
|
|||
)
|
||||
|
||||
type InternalMeta struct {
|
||||
EventID id.EventID `json:"event_id,omitempty"`
|
||||
Rejected bool `json:"rejected,omitempty"`
|
||||
EventID id.EventID `json:"event_id,omitempty"`
|
||||
Rejected bool `json:"rejected,omitempty"`
|
||||
Extra map[string]any `json:",unknown"`
|
||||
}
|
||||
|
||||
type PDU struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue