getChannelMembers() in EmbeddedChatApi.ts:1082 calls /channels.members?roomId=X without count or offset parameters. Rocket.Chat defaults to returning 100 results per page, so rooms with more than 100 members silently lose the rest.
The Members sidebar then displays "Showing 100 of 100" because RoomMember.js:166 uses filteredMembers.length for both numbers — the actual usersCount from the /rooms.info response (already stored in channelInfo via Zustand) is never read.
This also affects the mention autocomplete (@ popup in ChatInput), which only searches the first 100 members.
Steps to reproduce:
- Join or create a room with more than 100 members
- Open the Members sidebar
- Observe "Showing 100 of 100" even though the room has more members
- Try to
@-mention a user beyond the first 100 — they won't appear in the autocomplete
Expected behavior:
The sidebar should show "Showing 100 of 350" (using channelInfo.usersCount for the total) and ideally paginate or fetch all members.
Actual behavior:
Shows "Showing 100 of 100". No indication that members are missing. Mention autocomplete can't find users beyond the first page.
getChannelMembers()inEmbeddedChatApi.ts:1082calls/channels.members?roomId=Xwithoutcountoroffsetparameters. Rocket.Chat defaults to returning 100 results per page, so rooms with more than 100 members silently lose the rest.The Members sidebar then displays "Showing 100 of 100" because
RoomMember.js:166usesfilteredMembers.lengthfor both numbers — the actualusersCountfrom the/rooms.inforesponse (already stored inchannelInfovia Zustand) is never read.This also affects the mention autocomplete (
@popup in ChatInput), which only searches the first 100 members.Steps to reproduce:
@-mention a user beyond the first 100 — they won't appear in the autocompleteExpected behavior:
The sidebar should show "Showing 100 of 350" (using
channelInfo.usersCountfor the total) and ideally paginate or fetch all members.Actual behavior:
Shows "Showing 100 of 100". No indication that members are missing. Mention autocomplete can't find users beyond the first page.