Fix a crashing bug

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-07-17 16:18:15 +02:00
parent f677d95fe7
commit 9f15661273

View File

@ -236,10 +236,12 @@ public class CallNotificationController extends BaseController {
for (Room room : roomsOverall.getOcs().getData()) {
if (roomId.equals(room.getRoomId())) {
currentRoom = room;
conversationNameTextView.setText(currentRoom.getDisplayName());
loadAvatar();
checkIfAnyParticipantsRemainInRoom();
showAnswerControls();
if (conversationNameTextView != null) {
conversationNameTextView.setText(currentRoom.getDisplayName());
loadAvatar();
checkIfAnyParticipantsRemainInRoom();
showAnswerControls();
}
break;
}
}