Procházet zdrojové kódy

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 před 7 roky
rodič
revize
c23c798f7a

+ 1
- 1
react/features/toolbox/components/web/OverflowMenuProfileItem.js Zobrazit soubor

@@ -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
         }

Načítá se…
Zrušit
Uložit