Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(participants/native) - fix joining breakout room

Calin Chituef125968ce26
diff --git a/react/features/lobby/functions.js b/react/features/lobby/functions.js
index 4a23c7ebf0..b04fefffa8 100644
--- a/react/features/lobby/functions.js
+++ b/react/features/lobby/functions.js
@@ -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;
diff --git a/react/features/participants-pane/components/breakout-rooms/components/native/styles.js b/react/features/participants-pane/components/breakout-rooms/components/native/styles.js
index bf7075db12..8c7f2e68cc 100644
--- a/react/features/participants-pane/components/breakout-rooms/components/native/styles.js
+++ b/react/features/participants-pane/components/breakout-rooms/components/native/styles.js
@@ -71,8 +71,8 @@ export default {
},
transparentButton: {
- ...baseButton,
- backgroundColor: 'transparent'
+ backgroundColor: 'transparent',
+ marginTop: BaseTheme.spacing[3]
},
leaveButtonLabel: {
diff --git a/react/features/participants-pane/components/native/MeetingParticipantList.js b/react/features/participants-pane/components/native/MeetingParticipantList.js
index 99350f35ba..8d0acdf3e8 100644
--- a/react/features/participants-pane/components/native/MeetingParticipantList.js
+++ b/react/features/participants-pane/components/native/MeetingParticipantList.js
@@ -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;