[issue-18446] - fix download of original presentation
This commit is contained in:
parent
1aba53885b
commit
ce22c1894d
@ -164,7 +164,7 @@ trait MakePresentationDownloadReqMsgHdlr extends RightsManagementTrait {
|
||||
|
||||
PresentationSender.broadcastSetPresentationDownloadableEvtMsg(bus, meetingId, "DEFAULT_PRESENTATION_POD", "not-used", presId, true, filename)
|
||||
|
||||
val fileURI = List("bigbluebutton", "presentation", "download", meetingId, s"${presId}?presFilename=${presId}.${presFilenameExt}&filename=${filename}").mkString("", File.separator, "")
|
||||
val fileURI = List("presentation", "download", meetingId, s"${presId}?presFilename=${presId}.${presFilenameExt}&filename=${filename}").mkString("", File.separator, "")
|
||||
val event = buildNewPresFileAvailable(fileURI, presId, m.body.typeOfExport)
|
||||
|
||||
handle(event, liveMeeting, bus)
|
||||
|
@ -6,6 +6,7 @@ import { safeMatch } from '/imports/utils/string-utils';
|
||||
const POLL_SETTINGS = Meteor.settings.public.poll;
|
||||
const MAX_CUSTOM_FIELDS = POLL_SETTINGS.maxCustom;
|
||||
const MAX_CHAR_LIMIT = POLL_SETTINGS.maxTypedAnswerLength;
|
||||
const APP = Meteor.settings.public.app;
|
||||
|
||||
const getCurrentPresentation = (podId) => Presentations.findOne({
|
||||
podId,
|
||||
@ -19,7 +20,7 @@ const downloadPresentationUri = (podId) => {
|
||||
}
|
||||
|
||||
const { originalFileURI: uri } = currentPresentation;
|
||||
return uri;
|
||||
return `${APP.bbbWebBase}/${uri}`;
|
||||
};
|
||||
|
||||
const isPresentationDownloadable = (podId) => {
|
||||
|
Loading…
Reference in New Issue
Block a user