Enable Room.List to filter by specific names (#290)

This commit is contained in:
David Zhao
2021-12-27 23:32:29 -08:00
committed by GitHub
parent 472f51cdba
commit 15cd98be22
13 changed files with 133 additions and 36 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func (r *RoomManager) DeleteRoom(ctx context.Context, roomName string) error {
func (r *RoomManager) CleanupRooms() error {
// cleanup rooms that have been left for over a day
ctx := context.Background()
rooms, err := r.roomStore.ListRooms(ctx)
rooms, err := r.roomStore.ListRooms(ctx, nil)
if err != nil {
return err
}