Skip to content

Commit

Permalink
Merge pull request #101 from morganecf/morg/fix-jitsi-avatar
Browse files Browse the repository at this point in the history
Fix bug where avatar & name were not showing up in jitsi video
  • Loading branch information
Morg authored May 9, 2020
2 parents 504efb8 + 711aea7 commit df2aa2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/client/jsx/JitsiVideo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit df2aa2a

Please sign in to comment.