|
@@ -343,7 +343,9 @@ function _participantJoinedOrUpdated({ dispatch, getState }, next, action) {
|
343
|
343
|
// to the new avatar and emit out change events if necessary.
|
344
|
344
|
const result = next(action);
|
345
|
345
|
|
346
|
|
- if (avatarURL || email || id || name) {
|
|
346
|
+ const { disableThirdPartyRequests } = getState()['features/base/config'];
|
|
347
|
+
|
|
348
|
+ if (!disableThirdPartyRequests && (avatarURL || email || id || name)) {
|
347
|
349
|
const participantId = !id && local ? getLocalParticipant(getState()).id : id;
|
348
|
350
|
const updatedParticipant = getParticipantById(getState(), participantId);
|
349
|
351
|
|