Explorar el Código

fix(participant): update local name only on explicit update (#3849)

Dominant speaker events can trigger local participant updates
without a display name. Do not update the name unless there
is an explicit update in the action.
master
virtuacoplenny hace 6 años
padre
commit
6f57d58dd9
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      react/features/base/conference/middleware.js

+ 1
- 1
react/features/base/conference/middleware.js Ver fichero

@@ -673,7 +673,7 @@ function _updateLocalParticipantInConference({ getState }, next, action) {
673 673
     const { participant } = action;
674 674
     const result = next(action);
675 675
 
676
-    if (conference && participant.local) {
676
+    if (conference && participant.local && 'name' in participant) {
677 677
         conference.setDisplayName(participant.name);
678 678
     }
679 679
 

Loading…
Cancelar
Guardar