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 { lobbyMessageRecipient, isLobbyChatActive } = state['features/chat'];
const conference = getCurrentConference(state); const conference = getCurrentConference(state);
const lobbyLocalId = conference.myLobbyUserId(); const lobbyLocalId = conference?.myLobbyUserId();
if (!enableLobbyChat) { if (!enableLobbyChat) {
return false; return false;

View File

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

View File

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