Skip to content

Commit 3a37b8b

Browse files
committed
fix: Add abacAttributes to adminRooms projection (#37576)
1 parent 5c08901 commit 3a37b8b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

apps/meteor/lib/rooms/adminFields.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ export const adminFields: Partial<Record<keyof IRoom, 1>> = {
2929
uids: 1,
3030
avatarETag: 1,
3131
federated: 1,
32+
abacAttributes: 1,
3233
} as const;

packages/core-typings/src/IRoom.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ export type RoomAdminFieldsType =
402402
| 'description'
403403
| 'broadcast'
404404
| 'uids'
405-
| 'avatarETag';
405+
| 'avatarETag'
406+
| 'abacAttributes';
406407

407408
export interface IRoomWithRetentionPolicy extends IRoom {
408409
retention: {

0 commit comments

Comments
 (0)