Closed bjbr-dev closed 5 months ago
what permissions does the local participant have? do you set canUpdateOwnMetadata: true
? That would be required
Yes, canUpdateOwnMetadata is true. When the component is re-rendered due to a change somewhere else in the tree, it does get the updated name. I believe the component is just not triggering the render correctly
Describe the bug
When changing a user's name via
localParticpant.setName(newName)
, the component's rendering the name in the participant tile don't seem to be updating. If the component is re-rendered by something else changing, the name does update.Reproduction
Logs
No response
System Info
Severity
annoyance
Additional Information
I believe this is because in the
participantInfoObserver
internal function, it is not subscribing to the eventParticipantEvent.ParticipantNameChanged
.I'd be happy to raise this as a PR if that sounds like the right solution