Skip to content

Commit 2c76491

Browse files
authored
Add RoomType to PublicRoom struct (#432)
Required for MSC3827: Filtering of /publicRooms by room type ### Pull Request Checklist * [X] Pull request includes a [sign off](https://github.com/matrix-org/dendrite/blob/master/docs/CONTRIBUTING.md#sign-off): I have already signed off privately
1 parent 01f3d2e commit 2c76491

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
@@ -131,6 +131,8 @@ type PublicRoom struct {
131131
AvatarURL string `json:"avatar_url,omitempty"`
132132
// The join rule for this room
133133
JoinRule string `json:"join_rule,omitempty"`
134+
// The type of the room.
135+
RoomType string `json:"room_type,omitempty"`
134136
}
135137

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

0 commit comments

Comments
 (0)