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
feat: Hides any error from the UI for the DialIn info app.
damenchofc8ce532f64d
diff --git a/react/features/deep-linking/components/DeepLinkingMobilePage.web.tsx b/react/features/deep-linking/components/DeepLinkingMobilePage.web.tsxindex 2821ed8ba0..d6e5915e8c 100644--- a/react/features/deep-linking/components/DeepLinkingMobilePage.web.tsx+++ b/react/features/deep-linking/components/DeepLinkingMobilePage.web.tsx@@ -228,6 +228,7 @@ const DeepLinkingMobilePage: React.FC<WithTranslation> = ({ t }) => {<DialInSummaryclassName = 'deep-linking-dial-in'clickableNumbers = { true }+ hideError = { true }room = { room }url = { url } /></div>diff --git a/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx b/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsxindex 21851f714e..413a4a956c 100644--- a/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx+++ b/react/features/invite/components/dial-in-info-page/DialInInfoApp.web.tsx@@ -10,6 +10,9 @@ import DialInSummary from '../dial-in-summary/web/DialInSummary';import NoRoomError from './NoRoomError.web';+/**+ * TODO: This seems unused, so we can drop it.+ */document.addEventListener('DOMContentLoaded', () => {// @ts-ignoreconst { room } = parseURLParams(window.location, true, 'search');diff --git a/react/features/invite/components/dial-in-summary/web/DialInSummary.tsx b/react/features/invite/components/dial-in-summary/web/DialInSummary.tsxindex 5f1df44089..847023f90b 100644--- a/react/features/invite/components/dial-in-summary/web/DialInSummary.tsx+++ b/react/features/invite/components/dial-in-summary/web/DialInSummary.tsx@@ -31,6 +31,11 @@ interface IProps extends WithTranslation {*/clickableNumbers: boolean;+ /**+ * Whether to hide the error.+ */+ hideError?: boolean;+/*** The name of the conference to show a conferenceID for.*/@@ -167,14 +172,16 @@ class DialInSummary extends Component<IProps, State> {let contents;const { conferenceID, error, loading, numbersEnabled } = this.state;- const { classes, showTitle, room, clickableNumbers, scrollable, t } = this.props;+ const { classes, hideError, showTitle, room, clickableNumbers, scrollable, t } = this.props;if (loading) {contents = '';} else if (numbersEnabled === false) {contents = t('info.dialInNotSupported');} else if (error) {- contents = error;+ if (!hideError) {+ contents = error;+ }} else {className = clsx(classes.hasNumbers, scrollable && classes.scrollable);contents = [