fix NPE: apparently otherMember can be undefined as well as null on LL

This commit is contained in:
Matthew Hodgson 2018-08-17 12:23:58 +02:00
parent 94c7ae2bf5
commit c410a737d9

View file

@ -51,7 +51,7 @@ function _isConfCallRoom(room, myUserId, conferenceHandler) {
}
const otherMember = getOnlyOtherMember(room, myUserId);
if (otherMember === null) {
if (!otherMember) {
return false;
}