|
|
@@ -118,13 +118,15 @@ MiddlewareRegistry.register(store => next => action => {
|
|
118
|
118
|
case PARTICIPANT_JOINED: {
|
|
119
|
119
|
_maybePlaySounds(store, action);
|
|
120
|
120
|
|
|
|
121
|
+ const result = _participantJoinedOrUpdated(store, next, action);
|
|
|
122
|
+
|
|
121
|
123
|
const { participant: p } = action;
|
|
122
|
124
|
|
|
123
|
125
|
if (!p.local) {
|
|
124
|
126
|
store.dispatch(showParticipantJoinedNotification(getParticipantDisplayName(store.getState, p.id)));
|
|
125
|
127
|
}
|
|
126
|
128
|
|
|
127
|
|
- return _participantJoinedOrUpdated(store, next, action);
|
|
|
129
|
+ return result;
|
|
128
|
130
|
}
|
|
129
|
131
|
|
|
130
|
132
|
case PARTICIPANT_LEFT:
|