diff --git a/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js b/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js index 2861826810cf3ac29c75208f9a61ed8fb46dcc56..2f0dc37d11df01ff43ce60b000971cdd1e43851f 100755 --- a/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js +++ b/bigbluebutton-html5/imports/api/meetings/server/modifiers/addMeeting.js @@ -140,6 +140,18 @@ export default function addMeeting(meeting) { // At the moment `modOnlyMessage` is obtained from client side as a response to Enter API newMeeting.welcomeProp.modOnlyMessage = sanitizeTextInChat(newMeeting.welcomeProp.modOnlyMessage); + if (newMeeting.meetingProp.isBreakout) { + const parent = Meetings.findOne( + { meetingId: newMeeting.breakoutProps.parentId }, + { fields: { 'languages': 1 } }); + + let languages = [] + if (parent.languages) { + languages = parent.languages; + } + newMeeting.languages = languages; + } + const modifier = { $set: Object.assign({ meetingId,