event: add encrypted file info for m.room.avatar (#283)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Toni Spets 2024-09-06 13:54:54 +03:00 committed by GitHub
commit 33d724bf4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.