Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

virtuacoplenny6f57d58dd96f
diff --git a/react/features/base/conference/middleware.js b/react/features/base/conference/middleware.js
index 95c97bb591..2a3d571b11 100644
--- a/react/features/base/conference/middleware.js
+++ b/react/features/base/conference/middleware.js
@@ -673,7 +673,7 @@ function _updateLocalParticipantInConference({ getState }, next, action) {
const { participant } = action;
const result = next(action);
- if (conference && participant.local) {
+ if (conference && participant.local && 'name' in participant) {
conference.setDisplayName(participant.name);
}