feat(participants/native) - fix joining breakout room

This commit is contained in:
Calin Chitu 2022-03-29 14:13:28 +03:00 committed by Calinteodor
parent 45e8140209
commit ef125968ce
3 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ export function showLobbyChatButton(
const { lobbyMessageRecipient, isLobbyChatActive } = state['features/chat'];
const conference = getCurrentConference(state);
const lobbyLocalId = conference.myLobbyUserId();
const lobbyLocalId = conference?.myLobbyUserId();
if (!enableLobbyChat) {
return false;

View File

@ -71,8 +71,8 @@ export default {
},
transparentButton: {
...baseButton,
backgroundColor: 'transparent'
backgroundColor: 'transparent',
marginTop: BaseTheme.spacing[3]
},
leaveButtonLabel: {

View File

@ -207,7 +207,7 @@ class MeetingParticipantList extends PureComponent<Props> {
// If there are only meeting participants available,
// we take the full container height
const onlyMeetingParticipants
= breakoutRooms.length === 0 && lobbyParticipants.length === 0;
= breakoutRooms?.length === 0 && lobbyParticipants.length === 0;
const containerStyle
= onlyMeetingParticipants
? styles.meetingListFullContainer : styles.meetingListContainer;