fix(deep-linking) drop broken an unused setting
The showImage setting has been broken for about 2 years since the asset is not there. Fixes: https://github.com/jitsi/jitsi-meet/issues/5409 Ref: https://community.jitsi.org/t/error-nginx-usr-share-jitsi-meet-images-deep-linking-image-png-failed/120418
This commit is contained in:
parent
6048279eb2
commit
817a05cf7b
|
@ -1083,9 +1083,6 @@ var config = {
|
|||
// // whether to hide the logo on the deep linking pages.
|
||||
// hideLogo: false,
|
||||
|
||||
// // whether to show deeplinking image.
|
||||
// showImage: false,
|
||||
|
||||
// // The ios deeplinking config.
|
||||
// ios: {
|
||||
// appName: 'Jitsi Meet',
|
||||
|
|
|
@ -195,8 +195,6 @@ var interfaceConfig = {
|
|||
*/
|
||||
// MOBILE_DOWNLOAD_LINK_ANDROID: 'https://play.google.com/store/apps/details?id=org.jitsi.meet',
|
||||
|
||||
// SHOW_DEEP_LINKING_IMAGE: false,
|
||||
|
||||
/**
|
||||
* Specify mobile app scheme for opening the app from the mobile browser.
|
||||
*/
|
||||
|
|
|
@ -115,7 +115,6 @@ export interface IDeeplinkingConfig {
|
|||
disabled: boolean;
|
||||
hideLogo: boolean;
|
||||
ios?: IDeeplinkingMobileConfig;
|
||||
showImage: boolean;
|
||||
}
|
||||
|
||||
export interface IConfig {
|
||||
|
|
|
@ -82,7 +82,6 @@ export default [
|
|||
'debug',
|
||||
'debugAudioLevels',
|
||||
'deeplinking.disabled',
|
||||
'deeplinking.showImage',
|
||||
'defaultLocalDisplayName',
|
||||
'defaultRemoteDisplayName',
|
||||
'deploymentUrls',
|
||||
|
|
|
@ -44,7 +44,6 @@ export default [
|
|||
'SETTINGS_SECTIONS',
|
||||
'SHARING_FEATURES',
|
||||
'SHOW_CHROME_EXTENSION_BANNER',
|
||||
'SHOW_DEEP_LINKING_IMAGE',
|
||||
'SHOW_POWERED_BY',
|
||||
'SUPPORT_URL',
|
||||
'TILE_VIEW_MAX_COLUMNS',
|
||||
|
|
|
@ -310,7 +310,6 @@ function _translateInterfaceConfig(oldValue: IConfig) {
|
|||
desktop: {} as IDeeplinkingPlatformConfig,
|
||||
hideLogo: false,
|
||||
disabled,
|
||||
showImage: false,
|
||||
android: {} as IDeeplinkingMobileConfig,
|
||||
ios: {} as IDeeplinkingMobileConfig
|
||||
};
|
||||
|
@ -330,7 +329,6 @@ function _translateInterfaceConfig(oldValue: IConfig) {
|
|||
}
|
||||
|
||||
deeplinking.hideLogo = Boolean(interfaceConfig.HIDE_DEEP_LINKING_LOGO);
|
||||
deeplinking.showImage = interfaceConfig.SHOW_DEEP_LINKING_IMAGE;
|
||||
deeplinking.android = {
|
||||
appName: interfaceConfig.NATIVE_APP_NAME,
|
||||
appScheme: interfaceConfig.APP_SCHEME,
|
||||
|
|
|
@ -105,7 +105,7 @@ class DeepLinkingMobilePage extends Component<Props> {
|
|||
*/
|
||||
render() {
|
||||
const {
|
||||
_deeplinkingCfg: { hideLogo, showImage },
|
||||
_deeplinkingCfg: { hideLogo },
|
||||
_mobileConfig: { downloadLink, appName },
|
||||
_room,
|
||||
t,
|
||||
|
@ -145,14 +145,6 @@ class DeepLinkingMobilePage extends Component<Props> {
|
|||
}
|
||||
</div>
|
||||
<div className = { `${_SNS}__body` }>
|
||||
{
|
||||
showImage
|
||||
? <img
|
||||
alt = { t('welcomepage.logo.logoDeepLinking') }
|
||||
className = 'image'
|
||||
src = 'images/deep-linking-image.png' />
|
||||
: null
|
||||
}
|
||||
<p className = { `${_SNS}__text` }>
|
||||
{ t(`${_TNS}.appNotInstalled`, { app: appName }) }
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue