|
@@ -41,6 +41,7 @@ import {
|
41
|
41
|
import { LOCAL_PARTICIPANT_DEFAULT_ID } from '../../react/features/base/participants/constants';
|
42
|
42
|
import {
|
43
|
43
|
getLocalParticipant,
|
|
44
|
+ getNormalizedDisplayName,
|
44
|
45
|
getParticipantById,
|
45
|
46
|
getScreenshareParticipantIds,
|
46
|
47
|
getVirtualScreenshareParticipantByOwnerId,
|
|
@@ -105,7 +106,6 @@ import { startAudioScreenShareFlow, startScreenShareFlow } from '../../react/fea
|
105
|
106
|
import { isScreenAudioSupported } from '../../react/features/screen-share/functions';
|
106
|
107
|
import { toggleScreenshotCaptureSummary } from '../../react/features/screenshot-capture/actions';
|
107
|
108
|
import { isScreenshotCaptureEnabled } from '../../react/features/screenshot-capture/functions';
|
108
|
|
-import { changeLocalDisplayName } from '../../react/features/settings/actions.web';
|
109
|
109
|
import SettingsDialog from '../../react/features/settings/components/web/SettingsDialog';
|
110
|
110
|
import { SETTINGS_TABS } from '../../react/features/settings/constants';
|
111
|
111
|
import { playSharedVideo, stopSharedVideo } from '../../react/features/shared-video/actions.any';
|
|
@@ -201,7 +201,7 @@ function initCommands() {
|
201
|
201
|
},
|
202
|
202
|
'display-name': displayName => {
|
203
|
203
|
sendAnalytics(createApiEvent('display.name.changed'));
|
204
|
|
- APP.store.dispatch(changeLocalDisplayName(displayName));
|
|
204
|
+ APP.store.dispatch(updateSettings({ displayName: getNormalizedDisplayName(displayName) }));
|
205
|
205
|
},
|
206
|
206
|
'local-subject': localSubject => {
|
207
|
207
|
sendAnalytics(createApiEvent('local.subject.changed'));
|