|
@@ -4,7 +4,7 @@ import UIEvents from '../../../../service/UI/UIEvents';
|
4
|
4
|
|
5
|
5
|
import { APP_WILL_MOUNT, APP_WILL_UNMOUNT } from '../../app';
|
6
|
6
|
import {
|
7
|
|
- CONFERENCE_JOINED,
|
|
7
|
+ CONFERENCE_WILL_JOIN,
|
8
|
8
|
CONFERENCE_LEFT
|
9
|
9
|
} from '../conference';
|
10
|
10
|
import { MiddlewareRegistry } from '../redux';
|
|
@@ -59,10 +59,12 @@ MiddlewareRegistry.register(store => next => action => {
|
59
|
59
|
_registerSounds(store);
|
60
|
60
|
|
61
|
61
|
return _localParticipantJoined(store, next, action);
|
|
62
|
+
|
62
|
63
|
case APP_WILL_UNMOUNT:
|
63
|
64
|
_unregisterSounds(store);
|
64
|
65
|
break;
|
65
|
|
- case CONFERENCE_JOINED:
|
|
66
|
+
|
|
67
|
+ case CONFERENCE_WILL_JOIN:
|
66
|
68
|
store.dispatch(localParticipantIdChanged(action.conference.myUserId()));
|
67
|
69
|
break;
|
68
|
70
|
|