Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Remove obsolete source code
Lyubo Marinov0205b9f49a79
diff --git a/react/features/app/middleware.js b/react/features/app/middleware.jsindex a9e13223f4..8fd5eee613 100644--- a/react/features/app/middleware.js+++ b/react/features/app/middleware.js@@ -6,6 +6,8 @@ import {} from '../base/connection';import { MiddlewareRegistry } from '../base/redux';+import { _getRouteToRender } from './functions';+MiddlewareRegistry.register(store => next => action => {switch (action.type) {case CONNECTION_ESTABLISHED:@@ -72,8 +74,8 @@ function _connectionEstablished(store, next, action) {*/function _navigate({ getState }) {const state = getState();- const { app, getRouteToRender } = state['features/app'];- const routeToRender = getRouteToRender && getRouteToRender(state);+ const { app } = state['features/app'];+ const routeToRender = _getRouteToRender(state);return app._navigate(routeToRender);}diff --git a/react/features/app/reducer.js b/react/features/app/reducer.jsindex 3e07d6d86e..07cfce539c 100644--- a/react/features/app/reducer.js+++ b/react/features/app/reducer.js@@ -1,10 +1,8 @@-import { SET_ROOM } from '../base/conference';-import { SET_LOCATION_URL } from '../base/connection';+// @flow-import { ReducerRegistry, set } from '../base/redux';+import { ReducerRegistry } from '../base/redux';import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from './actionTypes';-import { _getRouteToRender } from './functions';ReducerRegistry.register('features/app', (state = {}, action) => {switch (action.type) {@@ -35,12 +33,6 @@ ReducerRegistry.register('features/app', (state = {}, action) => {};}break;-- case SET_LOCATION_URL:- return set(state, 'getRouteToRender', undefined);-- case SET_ROOM:- return set(state, 'getRouteToRender', _getRouteToRender);}return state;