浏览代码

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

The current code was splitting it on a space, which made nicknames such as “Link Mauve” appear as “Link”, whereas it gets displayed correctly everywhere else in the UI.
master
linkmauve 7 年前
父节点
当前提交
c23c798f7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      react/features/toolbox/components/web/OverflowMenuProfileItem.js

+ 1
- 1
react/features/toolbox/components/web/OverflowMenuProfileItem.js 查看文件

@@ -67,7 +67,7 @@ class OverflowMenuProfileItem extends Component {
67 67
         let displayName;
68 68
 
69 69
         if (_localParticipant && _localParticipant.name) {
70
-            displayName = _localParticipant.name.split(' ')[0];
70
+            displayName = _localParticipant.name;
71 71
         } else {
72 72
             displayName = interfaceConfig.DEFAULT_LOCAL_DISPLAY_NAME;
73 73
         }

正在加载...
取消
保存