[RN] Mitigate 'Not joining a new URL while in a conference'

This commit is contained in:
Lyubo Marinov
2017-08-01 06:31:03 -05:00
parent d778b716be
commit caea02a322
4 changed files with 33 additions and 18 deletions
+4 -6
View File
@@ -103,7 +103,7 @@ function _navigate({ dispatch, getState }) {
}
}
app._navigate(routeToRender);
return app._navigate(routeToRender);
}
/**
@@ -121,11 +121,9 @@ function _navigate({ dispatch, getState }) {
* specified {@code action}.
*/
function _setLocationURL({ getState }, next, action) {
const result = next(action);
getState()['features/app'].app._navigate(undefined);
return result;
return (
getState()['features/app'].app._navigate(undefined)
.then(() => next(action)));
}
/**