core: refactor routing (continued)

This commit is contained in:
Lyubo Marinov
2018-07-11 22:57:44 -05:00
parent 155e02bbfb
commit c203215c54
12 changed files with 72 additions and 84 deletions

View File

@@ -20,10 +20,8 @@ export {
*/
export function connect() {
return (dispatch: Dispatch<*>, getState: Function) => {
const state = getState();
// XXX Lib-jitsi-meet does not accept uppercase letters.
const room = state['features/base/conference'].room.toLowerCase();
const room = getState()['features/base/conference'].room.toLowerCase();
// XXX For web based version we use conference initialization logic
// from the old app (at the moment of writing).