|
|
@@ -62,6 +62,7 @@ import {
|
|
62
|
62
|
setVideoAvailable,
|
|
63
|
63
|
setVideoMuted
|
|
64
|
64
|
} from './react/features/base/media';
|
|
|
65
|
+import { showNotification } from './react/features/notifications';
|
|
65
|
66
|
import {
|
|
66
|
67
|
dominantSpeakerChanged,
|
|
67
|
68
|
getAvatarURLByParticipantId,
|
|
|
@@ -203,7 +204,7 @@ function muteLocalVideo(muted) {
|
|
203
|
204
|
*
|
|
204
|
205
|
* @param {object} options used to decide which particular close page to show
|
|
205
|
206
|
* or if close page is disabled, whether we should show the thankyou dialog
|
|
206
|
|
- * @param {boolean} options.thankYouDialogVisible - whether we should
|
|
|
207
|
+ * @param {boolean} options.showThankYou - whether we should
|
|
207
|
208
|
* show thank you dialog
|
|
208
|
209
|
* @param {boolean} options.feedbackSubmitted - whether feedback was submitted
|
|
209
|
210
|
*/
|
|
|
@@ -222,9 +223,11 @@ function maybeRedirectToWelcomePage(options) {
|
|
222
|
223
|
}
|
|
223
|
224
|
|
|
224
|
225
|
// else: show thankYou dialog only if there is no feedback
|
|
225
|
|
- if (options.thankYouDialogVisible) {
|
|
226
|
|
- APP.UI.messageHandler.openMessageDialog(
|
|
227
|
|
- null, 'dialog.thankYou', { appName: interfaceConfig.APP_NAME });
|
|
|
226
|
+ if (options.showThankYou) {
|
|
|
227
|
+ APP.store.dispatch(showNotification({
|
|
|
228
|
+ titleArguments: { appName: interfaceConfig.APP_NAME },
|
|
|
229
|
+ titleKey: 'dialog.thankYou'
|
|
|
230
|
+ }));
|
|
228
|
231
|
}
|
|
229
|
232
|
|
|
230
|
233
|
// if Welcome page is enabled redirect to welcome page after 3 sec.
|