|
|
@@ -202,8 +202,20 @@ function muteLocalVideo (muted) {
|
|
202
|
202
|
|
|
203
|
203
|
/**
|
|
204
|
204
|
* Check if the welcome page is enabled and redirects to it.
|
|
|
205
|
+ * If requested show a thank you dialog before that.
|
|
|
206
|
+ * @param {boolean} showThankYou whether we should show a thank you dialog
|
|
205
|
207
|
*/
|
|
206
|
|
-function maybeRedirectToWelcomePage() {
|
|
|
208
|
+function maybeRedirectToWelcomePage(showThankYou) {
|
|
|
209
|
+
|
|
|
210
|
+ if (showThankYou) {
|
|
|
211
|
+ APP.UI.messageHandler.openMessageDialog(
|
|
|
212
|
+ null, null, null,
|
|
|
213
|
+ APP.translation.translateString(
|
|
|
214
|
+ "dialog.thankYou", {appName:interfaceConfig.APP_NAME}
|
|
|
215
|
+ )
|
|
|
216
|
+ );
|
|
|
217
|
+ }
|
|
|
218
|
+
|
|
207
|
219
|
if (!config.enableWelcomePage) {
|
|
208
|
220
|
return;
|
|
209
|
221
|
}
|