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