aboutsummaryrefslogtreecommitdiff
path: root/syncapi/storage/shared
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/storage/shared')
-rw-r--r--syncapi/storage/shared/syncserver.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/syncapi/storage/shared/syncserver.go b/syncapi/storage/shared/syncserver.go
index b7d2d3a2..ec5edd35 100644
--- a/syncapi/storage/shared/syncserver.go
+++ b/syncapi/storage/shared/syncserver.go
@@ -168,6 +168,10 @@ func (d *Database) AllJoinedUsersInRooms(ctx context.Context) (map[string][]stri
return d.CurrentRoomState.SelectJoinedUsers(ctx)
}
+func (d *Database) AllJoinedUsersInRoom(ctx context.Context, roomIDs []string) (map[string][]string, error) {
+ return d.CurrentRoomState.SelectJoinedUsersInRoom(ctx, roomIDs)
+}
+
func (d *Database) AllPeekingDevicesInRooms(ctx context.Context) (map[string][]types.PeekingDevice, error) {
return d.Peeks.SelectPeekingDevices(ctx)
}