diff --git a/app/client/jsx/JitsiVideo.jsx b/app/client/jsx/JitsiVideo.jsx index a29bab6f1..573debc8f 100644 --- a/app/client/jsx/JitsiVideo.jsx +++ b/app/client/jsx/JitsiVideo.jsx @@ -137,8 +137,8 @@ style.appendChild(document.createTextNode(css)); window.api.addEventListener('videoConferenceJoined', () => { this.makeJitsiTransparent() this.hideSpinner() - const [ avatarType, avatarColor ] = this.props.jitsiData.avatar - const avatarUrl = Avatars[avatarType][avatarColor] + const { type, color } = this.props.jitsiData.avatar + const avatarUrl = Avatars[type][color] const commands = { displayName: this.props.jitsiData.displayName, avatarUrl,