Skip to content

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

Display the correct display name in the menu (#3388)

linkmauvec23c798f7aaf
diff --git a/react/features/toolbox/components/web/OverflowMenuProfileItem.js b/react/features/toolbox/components/web/OverflowMenuProfileItem.js
index c8dd462cdf..3d586108c7 100644
--- a/react/features/toolbox/components/web/OverflowMenuProfileItem.js
+++ b/react/features/toolbox/components/web/OverflowMenuProfileItem.js
@@ -67,7 +67,7 @@ class OverflowMenuProfileItem extends Component {
let displayName;
if (_localParticipant && _localParticipant.name) {
- displayName = _localParticipant.name.split(' ')[0];
+ displayName = _localParticipant.name;
} else {
displayName = interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME;
}