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

@ -72,7 +72,7 @@ ConferenceCall.prototype._getConferenceUserRoom = function() {
for (var i = 0; i < rooms.length; i++) {
var confUser = rooms[i].getMember(this.confUserId);
if (confUser && confUser.membership === "join" &&
rooms[i].getJoinedMembers().length === 2) {
rooms[i].getJoinedMemberCount() === 2) {
confRoom = rooms[i];
break;
}