mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-03 19:41:20 +02:00
fix NPE: apparently otherMember can be undefined as well as null on LL
This commit is contained in:
parent
94c7ae2bf5
commit
c410a737d9
@ -51,7 +51,7 @@ function _isConfCallRoom(room, myUserId, conferenceHandler) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const otherMember = getOnlyOtherMember(room, myUserId);
|
const otherMember = getOnlyOtherMember(room, myUserId);
|
||||||
if (otherMember === null) {
|
if (!otherMember) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user