mirror of https://github.com/vector-im/riot-web
fix NPE: apparently otherMember can be undefined as well as null on LL
parent
94c7ae2bf5
commit
c410a737d9
|
@ -51,7 +51,7 @@ function _isConfCallRoom(room, myUserId, conferenceHandler) {
|
|||
}
|
||||
|
||||
const otherMember = getOnlyOtherMember(room, myUserId);
|
||||
if (otherMember === null) {
|
||||
if (!otherMember) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue