You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
fix NPE: apparently otherMember can be undefined as well as null on LL
This commit is contained in:
@@ -51,7 +51,7 @@ function _isConfCallRoom(room, myUserId, conferenceHandler) {
|
||||
}
|
||||
|
||||
const otherMember = getOnlyOtherMember(room, myUserId);
|
||||
if (otherMember === null) {
|
||||
if (!otherMember) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user