fix(analytics): Room name persistant prop.
This commit is contained in:
parent
ce69ee60ca
commit
4a680e11ac
|
@ -1,5 +1,5 @@
|
|||
import { SET_ROOM } from '../base/conference';
|
||||
import { MiddlewareRegistry } from '../base/redux';
|
||||
import { LIB_DID_INIT } from '../base/lib-jitsi-meet';
|
||||
|
||||
import { initAnalytics } from './functions';
|
||||
|
||||
|
@ -12,9 +12,12 @@ import { initAnalytics } from './functions';
|
|||
*/
|
||||
MiddlewareRegistry.register(store => next => action => {
|
||||
switch (action.type) {
|
||||
case LIB_DID_INIT: {
|
||||
case SET_ROOM: {
|
||||
const result = next(action);
|
||||
|
||||
initAnalytics(store);
|
||||
break;
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue