Skip to content
Snippets Groups Projects
Commit 9b3d901e authored by Richard Alam's avatar Richard Alam
Browse files

- move things around

parent c9ad8f15
No related branches found
No related tags found
No related merge requests found
......@@ -114,13 +114,14 @@ class ApiController {
return;
}
meetingService.createMeeting(meeting);
Meeting newMeeting = paramsProcessorUtil.processCreateParams(params);
meetingService.createMeeting(newMeeting);
// See if the request came with pre-uploading of presentation.
uploadDocuments(meeting);
uploadDocuments(newMeeting);
respondWithConference(meeting, null, null)
respondWithConference(newMeeting, null, null)
}
/**********************************************
......
......@@ -223,7 +223,7 @@ public class ParamsProcessorUtil {
return newParams;
}
public void processCreateParams(Map<String, String> params) {
public Meeting processCreateParams(Map<String, String> params) {
String meetingName = params.get("name");
String externalMeetingId = params.get("meetingID");
String viewerPass = processPassword(params.get("attendeePW"));
......@@ -279,7 +279,8 @@ public class ParamsProcessorUtil {
.withViewerPass(viewerPass).withRecording(record).withDuration(meetingDuration)
.withLogoutUrl(logoutUrl).withTelVoice(telVoice).withWebVoice(webVoice).withDialNumber(dialNumber)
.withMetadata(meetingInfo).withWelcomeMessage(welcomeMessage).build();
return meeting;
}
......
package org.bigbluebutton.web.services;
import org.bigbluebutton.api.MeetingService;
public interface IDynamicConferenceService {
public void setMeetingService(MeetingService s);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment