Skip to content

Commit

Permalink
Add missing join_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
S7evinK committed Mar 28, 2024
1 parent 14ee761 commit c2391f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fclient/federationtypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ type PublicRoom struct {
GuestCanJoin bool `json:"guest_can_join"`
// The URL for the room's avatar, if one is set.
AvatarURL string `json:"avatar_url,omitempty"`
// The join rule for this room
JoinRule string `json:"join_rule,omitempty"`
}

// A RespEventAuth is the content of a response to GET /_matrix/federation/v1/event_auth/{roomID}/{eventID}
Expand Down

0 comments on commit c2391f7

Please sign in to comment.