Skip to content

Commit c2391f7

Browse files
committed
Add missing join_rule
1 parent 14ee761 commit c2391f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fclient/federationtypes.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ type PublicRoom struct {
129129
GuestCanJoin bool `json:"guest_can_join"`
130130
// The URL for the room's avatar, if one is set.
131131
AvatarURL string `json:"avatar_url,omitempty"`
132+
// The join rule for this room
133+
JoinRule string `json:"join_rule,omitempty"`
132134
}
133135

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

0 commit comments

Comments
 (0)