From 23083f3ae0ffd28ca4094c75c90ba45fc57bd523 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 9 Feb 2020 23:49:17 +0100 Subject: Rebase gomatrix vendor with upstream (#1006) --- vendor/github.com/matterbridge/gomatrix/responses.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vendor/github.com/matterbridge/gomatrix/responses.go') diff --git a/vendor/github.com/matterbridge/gomatrix/responses.go b/vendor/github.com/matterbridge/gomatrix/responses.go index 7a3a4ce3..effb6096 100644 --- a/vendor/github.com/matterbridge/gomatrix/responses.go +++ b/vendor/github.com/matterbridge/gomatrix/responses.go @@ -22,6 +22,14 @@ type RespVersions struct { Versions []string `json:"versions"` } +// RespPublicRooms is the JSON response for http://matrix.org/speculator/spec/HEAD/client_server/unstable.html#get-matrix-client-unstable-publicrooms +type RespPublicRooms struct { + TotalRoomCountEstimate int `json:"total_room_count_estimate"` + PrevBatch string `json:"prev_batch"` + NextBatch string `json:"next_batch"` + Chunk []PublicRoom `json:"chunk"` +} + // RespJoinRoom is the JSON response for http://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-rooms-roomid-join type RespJoinRoom struct { RoomID string `json:"room_id"` -- cgit v1.2.3