fix: remove locally generated avatar ID
This commit is contained in:
parent
87f9b1cf92
commit
88e4850c4d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue