Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Moves handling of thank you dialog.
damencho415619021fe8
diff --git a/conference.js b/conference.jsindex b0edba985c..07a2187850 100644--- a/conference.js+++ b/conference.js@@ -202,8 +202,20 @@ function muteLocalVideo (muted) {/*** Check if the welcome page is enabled and redirects to it.+ * If requested show a thank you dialog before that.+ * @param {boolean} showThankYou whether we should show a thank you dialog*/-function maybeRedirectToWelcomePage() {+function maybeRedirectToWelcomePage(showThankYou) {++ if (showThankYou) {+ APP.UI.messageHandler.openMessageDialog(+ null, null, null,+ APP.translation.translateString(+ "dialog.thankYou", {appName:interfaceConfig.APP_NAME}+ )+ );+ }+if (!config.enableWelcomePage) {return;}diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex fb208588ae..1b6c304ac4 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -1130,14 +1130,9 @@ UI.requestFeedback = function () {}} else {// If the feedback functionality isn't enabled we show a thank- // you dialog.- messageHandler.openMessageDialog(- null, null, null,- APP.translation.translateString(- "dialog.thankYou", {appName:interfaceConfig.APP_NAME}- )- );- resolve();+ // you dialog. Signaling it (true), so the caller+ // of requestFeedback can act on it+ resolve(true);}});};