mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -06:00
TODO
This commit is contained in:
parent
b794d23594
commit
f23f386207
|
|
@ -108,6 +108,7 @@ func (r *RoomserverPublicRoomAPI) GetPublicRooms(
|
||||||
req *api.GetPublicRoomsRequest,
|
req *api.GetPublicRoomsRequest,
|
||||||
response *api.GetPublicRoomsResponse,
|
response *api.GetPublicRoomsResponse,
|
||||||
) error {
|
) error {
|
||||||
|
// TODO: Limit by req.Limit and offset by req.Since
|
||||||
roomIDs, err := r.DB.GetPublicRoomIDs()
|
roomIDs, err := r.DB.GetPublicRoomIDs()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue