From c410a737d91c5c04c28ca41d98e1e20e63de1fd4 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Fri, 17 Aug 2018 12:23:58 +0200 Subject: [PATCH] fix NPE: apparently otherMember can be undefined as well as null on LL --- src/Rooms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rooms.js b/src/Rooms.js index 96e7c140bb..e24b8316b3 100644 --- a/src/Rooms.js +++ b/src/Rooms.js @@ -51,7 +51,7 @@ function _isConfCallRoom(room, myUserId, conferenceHandler) { } const otherMember = getOnlyOtherMember(room, myUserId); - if (otherMember === null) { + if (!otherMember) { return false; }