rn: start removing defaultURL

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-05 11:58:53 +01:00
parent e4c3e15791
commit 7d8ea85ea0
2 changed files with 1 additions and 8 deletions

View File

@ -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.

View File

@ -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);
}
/**