|
|
@@ -37,11 +37,6 @@ export function appNavigate(uri: ?string) {
|
|
37
|
37
|
function _appNavigateToMandatoryLocation(
|
|
38
|
38
|
dispatch: Dispatch<*>, getState: Function,
|
|
39
|
39
|
newLocation: Object) {
|
|
40
|
|
- // TODO Kostiantyn Tsaregradskyi: We should probably detect if user is
|
|
41
|
|
- // currently in a conference and ask her if she wants to close the
|
|
42
|
|
- // current conference and start a new one with the new room name or
|
|
43
|
|
- // domain.
|
|
44
|
|
-
|
|
45
|
40
|
const oldLocationURL = getState()['features/base/connection'].locationURL;
|
|
46
|
41
|
const oldHost = oldLocationURL ? oldLocationURL.host : undefined;
|
|
47
|
42
|
const newHost = newLocation.host;
|