1
0
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:
Bruno Windels
2018-08-22 14:08:18 +02:00
parent 860c6355f0
commit a54629276f
4 changed files with 4 additions and 4 deletions

View File

@@ -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);
}