This commit is contained in:
Brendan Abolivier 2017-08-09 13:34:36 +01:00
parent b794d23594
commit f23f386207
No known key found for this signature in database
GPG key ID: 8EF1500759F70623

View file

@ -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