You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
use getJoinedMemberCount() instead of getJoinedMembers().length as the latter doesnt take LL into account
This commit is contained in:
@@ -480,7 +480,7 @@ function getMembershipCount(event, roomId) {
|
||||
sendError(event, _t('This room is not recognised.'));
|
||||
return;
|
||||
}
|
||||
const count = room.getJoinedMembers().length;
|
||||
const count = room.getJoinedMemberCount();
|
||||
sendResponse(event, count);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user