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

pull/2674/head jitsi-meet_2895
Saúl Ibarra Corretgé 7 years ago committed by virtuacoplenny
parent 2b7cdbc6a8
commit eb69fb69cb
  1. 5
      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);
}
}

Loading…
Cancel
Save