1
0
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:
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); const otherMember = getOnlyOtherMember(room, myUserId);
if (otherMember === null) { if (!otherMember) {
return false; return false;
} }