Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(conference): lower the redirect timeout after feedback submission (#2673)

Saúl Ibarra Corretgéeb69fb69cb18
diff --git a/conference.js b/conference.js
index 16516183f5..81b5abfb9f 100644
--- a/conference.js
+++ b/conference.js
@@ -236,13 +236,14 @@ function maybeRedirectToWelcomePage(options) {
}));
}
- // if Welcome page is enabled redirect to welcome page after 3 sec.
+ // if Welcome page is enabled redirect to welcome page after 3 sec, if
+ // there is a thank you message to be shown, 0.5s otherwise.
if (config.enableWelcomePage) {
setTimeout(
() => {
APP.store.dispatch(redirectWithStoredParams('/'));
},
- 3000);
+ options.showThankYou ? 3000 : 500);
}
}