|
@@ -9,6 +9,7 @@ import { MiddlewareRegistry } from '../redux';
|
9
|
9
|
import { parseURLParams } from '../util';
|
10
|
10
|
|
11
|
11
|
import { SETTINGS_UPDATED } from './actionTypes';
|
|
12
|
+import { updateSettings } from './actions';
|
12
|
13
|
import { handleCallIntegrationChange, handleCrashReportingChange } from './functions';
|
13
|
14
|
|
14
|
15
|
/**
|
|
@@ -160,10 +161,18 @@ function _updateLocalParticipantFromUrl({ dispatch, getState }) {
|
160
|
161
|
const localParticipant = getLocalParticipant(getState());
|
161
|
162
|
|
162
|
163
|
if (localParticipant) {
|
|
164
|
+ const displayName = _.escape(urlDisplayName);
|
|
165
|
+ const email = _.escape(urlEmail);
|
|
166
|
+
|
163
|
167
|
dispatch(participantUpdated({
|
164
|
168
|
...localParticipant,
|
165
|
|
- email: _.escape(urlEmail),
|
166
|
|
- name: _.escape(urlDisplayName)
|
|
169
|
+ email,
|
|
170
|
+ name: displayName
|
|
171
|
+ }));
|
|
172
|
+
|
|
173
|
+ dispatch(updateSettings({
|
|
174
|
+ displayName,
|
|
175
|
+ email
|
167
|
176
|
}));
|
168
|
177
|
}
|
169
|
178
|
}
|