From f23f38620750f4e5181f19bdae1da4f7087842cb Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 9 Aug 2017 13:34:36 +0100 Subject: [PATCH] TODO --- .../matrix-org/dendrite/roomserver/publicroom/public_room.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/github.com/matrix-org/dendrite/roomserver/publicroom/public_room.go b/src/github.com/matrix-org/dendrite/roomserver/publicroom/public_room.go index cc1584836..e04ca3121 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/publicroom/public_room.go +++ b/src/github.com/matrix-org/dendrite/roomserver/publicroom/public_room.go @@ -108,6 +108,7 @@ func (r *RoomserverPublicRoomAPI) GetPublicRooms( req *api.GetPublicRoomsRequest, response *api.GetPublicRoomsResponse, ) error { + // TODO: Limit by req.Limit and offset by req.Since roomIDs, err := r.DB.GetPublicRoomIDs() if err != nil { return err