File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/java/org/bigbluebutton/lti Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,12 @@ class ToolController {
235
235
log. debug " Locale has been set to " + locale
236
236
String welcome = message(code : " bigbluebutton.welcome" , args : [" \" {0}\" " , " \" {1}\" " ])
237
237
log. debug " Localized default welcome message: [" + welcome + " ]"
238
+
239
+ // Check for [custom_]welcome parameter being passed from the LTI
240
+ if (params. get(Parameter . CUSTOM_BBB_WELCOME ) != null ) {
241
+ welcome = params. get(Parameter . CUSTOM_BBB_WELCOME )
242
+ log. debug " Overriding default welcome message with: [" + welcome + " ]"
243
+ }
238
244
239
245
String destinationURL = bigbluebuttonService. getJoinURL(params, welcome, ltiService. mode)
240
246
log. debug " redirecting to " + destinationURL
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public class Parameter {
52
52
public static final String CUSTOM_BBB_RECORD = "custom_bbb_record" ;
53
53
public static final String CUSTOM_BBB_VOICEBRIDGE = "custom_bbb_voicebridge" ;
54
54
public static final String CUSTOM_BBB_DURATION = "custom_bbb_duration" ;
55
- public static final String CUSTOM_WELCOME = "custom_bbb_welcome" ;
55
+ public static final String CUSTOM_BBB_WELCOME = "custom_bbb_welcome" ;
56
56
57
57
///BigBlueButton internal parameters
58
58
public static final String BBB_RECORDING_ID = "bbb_recording_id" ;
You can’t perform that action at this time.
0 commit comments