Skip to content

Commit

Permalink
fix membersData updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsantosbh committed Jul 1, 2024
1 parent 252cb30 commit 979712a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ window.connect = async () => {
const { member } = params
console.debug('>> member.joined', member)
window.__membersData = window.__membersData || {}
window.__membersData[member.id] = member
window.__membersData[member.member_id] = member
updateMembersUI()
})
roomObj.on('member.updated', (params) => {
const { member } = params
console.debug('>> member.updated', member)
window.__membersData = window.__membersData || {}
window.__membersData[member.id] = member
window.__membersData[member.member_id] = member
updateMembersUI()
})
roomObj.on('member.talking', (params) =>
Expand Down

0 comments on commit 979712a

Please sign in to comment.