whoops, where did id come from?

This commit is contained in:
Henne 2020-04-27 15:04:24 +02:00
parent b503175752
commit 2a19c77b2c
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function onUserJoin(id, user) {
*/
function onNameChange(participant, displayName) {
nameMapping[displayName] = id;
nameMapping[displayName] = participant;
// detach this user from current position
detachUser(participant);
let position = remoteMappingName.indexOf(displayName);