some fixing
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m6s

This commit is contained in:
2026-02-24 18:55:21 +01:00
parent 44ebdcb8ee
commit cf74ed31af
7 changed files with 30 additions and 16 deletions

View File

@@ -39,7 +39,7 @@ function getRoomPasswords(uid) {
return { moderatorPW: modPw, attendeePW: attPw };
}
export async function createMeeting(room) {
export async function createMeeting(room, logoutURL) {
const { moderatorPW, attendeePW } = getRoomPasswords(room.uid);
const params = {
meetingID: room.uid,
@@ -54,6 +54,9 @@ export async function createMeeting(room) {
'meta_bbb-origin': 'Redlight',
'meta_bbb-origin-server-name': 'Redlight',
};
if (logoutURL) {
params.logoutURL = logoutURL;
}
if (room.max_participants > 0) {
params.maxParticipants = room.max_participants.toString();
}