[RN] Remove obsolete comment

We have already made the implicit decision not to pursue what the
comment describes. If we ever revisit it, it probably won't be handled
where the comment is anyway.
This commit is contained in:
Saúl Ibarra Corretgé 2017-08-25 12:00:23 +02:00 committed by Lyubo Marinov
parent a94e38e890
commit 328da08b3a
1 changed files with 0 additions and 5 deletions

View File

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