Skip to content

Commit 2dde1d1

Browse files
committed
fix: no sorting by statusConnection
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
1 parent 5a5ffb0 commit 2dde1d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/meteor/server/lib/findUsersOfRoomOrderedByRole.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export async function findUsersOfRoomOrderedByRole({
7777
avatarETag: 1,
7878
_updatedAt: 1,
7979
federated: 1,
80+
statusConnection: 1,
8081
rolePriority: {
8182
$ifNull: [`$roomRolePriorities.${rid}`, ROOM_ROLE_PRIORITY_MAP.default],
8283
},
@@ -110,6 +111,7 @@ export async function findUsersOfRoomOrderedByRole({
110111
{
111112
$project: {
112113
subscription: 0,
114+
statusConnection: 0,
113115
},
114116
},
115117
],

0 commit comments

Comments
 (0)