mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
event: add encrypted file info for m.room.avatar (#283)
This commit is contained in:
parent
059d9a36e5
commit
33d724bf4c
1 changed files with 3 additions and 2 deletions
|
|
@ -26,8 +26,9 @@ type RoomNameEventContent struct {
|
|||
// RoomAvatarEventContent represents the content of a m.room.avatar state event.
|
||||
// https://spec.matrix.org/v1.2/client-server-api/#mroomavatar
|
||||
type RoomAvatarEventContent struct {
|
||||
URL id.ContentURIString `json:"url"`
|
||||
Info *FileInfo `json:"info,omitempty"`
|
||||
URL id.ContentURIString `json:"url,omitempty"`
|
||||
Info *FileInfo `json:"info,omitempty"`
|
||||
MSC3414File *EncryptedFileInfo `json:"org.matrix.msc3414.file,omitempty"`
|
||||
}
|
||||
|
||||
// ServerACLEventContent represents the content of a m.room.server_acl state event.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue