mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Add encrypted event fields
This commit is contained in:
parent
d5f90df214
commit
e7d41d6fb9
1 changed files with 6 additions and 0 deletions
|
|
@ -102,6 +102,12 @@ type Content struct {
|
|||
// Membership key for easy access in m.room.member events
|
||||
Membership Membership `json:"membership,omitempty"`
|
||||
|
||||
Algorithm string `json:"algorithm,omitempty"`
|
||||
SenderKey string `json:"sender_key,omitempty"`
|
||||
DeviceID id.DeviceID `json:"device_id,omitempty"`
|
||||
SessionID string `json:"session_id,omitempty"`
|
||||
Ciphertext string `json:"ciphertext,omitempty"`
|
||||
|
||||
// m.room.canonical_alias state
|
||||
Alias id.RoomAlias `json:"alias,omitempty"`
|
||||
AltAliases []string `json:"alt_aliases,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue