Skip to content

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

rn: start removing defaultURL

Saúl Ibarra Corretgé7d8ea85ea0bd
diff --git a/react/features/app/components/AbstractApp.js b/react/features/app/components/AbstractApp.js
index 0e41d21980..ba1421ffd7 100644
--- a/react/features/app/components/AbstractApp.js
+++ b/react/features/app/components/AbstractApp.js
@@ -14,12 +14,6 @@ import { getDefaultURL } from '../functions';
*/
export type Props = {
- /**
- * The default URL {@code AbstractApp} is to open when not in any
- * conference/room.
- */
- defaultURL: string,
-
/**
* XXX Refer to the implementation of loadURLObject: in
* ios/sdk/src/JitsiMeetView.m for further information.
diff --git a/react/features/app/functions.native.js b/react/features/app/functions.native.js
index b28ebe2647..adad0a02e7 100644
--- a/react/features/app/functions.native.js
+++ b/react/features/app/functions.native.js
@@ -2,7 +2,6 @@
import { NativeModules } from 'react-native';
-import { getAppProp } from '../base/app';
import { toState } from '../base/redux';
import { getServerURL } from '../base/settings';
@@ -17,7 +16,7 @@ import { getServerURL } from '../base/settings';
export function getDefaultURL(stateful: Function | Object) {
const state = toState(stateful);
- return getAppProp(state, 'defaultURL') || getServerURL(state);
+ return getServerURL(state);
}
/**