Skip to content

Commit

Permalink
event: add encrypted file info for m.room.avatar (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
hifi authored Sep 6, 2024
1 parent 059d9a3 commit 33d724b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions event/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 33d724b

Please sign in to comment.