Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: remove locally generated avatar ID

Bettenbuk Zoltan88e4850c4dc8
diff --git a/react/features/base/participants/reducer.js b/react/features/base/participants/reducer.js
index 0e9ad21512..80697708f6 100644
--- a/react/features/base/participants/reducer.js
+++ b/react/features/base/participants/reducer.js
@@ -1,7 +1,5 @@
// @flow
-import { randomHexString } from 'js-utils/random';
-
import { ReducerRegistry, set } from '../redux';
import {
@@ -183,6 +181,7 @@ function _participant(state: Object = {}, action) {
*/
function _participantJoined({ participant }) {
const {
+ avatarID,
avatarURL,
botType,
connectionStatus,
@@ -196,14 +195,9 @@ function _participantJoined({ participant }) {
presence,
role
} = participant;
- let { avatarID, conference, id } = participant;
+ let { conference, id } = participant;
if (local) {
- // avatarID
- //
- // TODO Get the avatarID of the local participant from localStorage.
- avatarID || (avatarID = randomHexString(32));
-
// conference
//
// XXX The local participant is not identified in association with a