ServerConfiguration/Calla/Calla-Lib/basic/index.js
/**
 * Remove the graphic for a user that has left.
 * @param {string} id
 */
Remove the graphic for a user that has left.
@param {string} id
Remove the graphic for a user that has left . @param { string } id
function removeUser(id) {
    if (users.has(id)) {
        const user = users.get(id);
        user.dispose();
        users.delete(id);
    }
}
function removeUser ( id ) { if ( users . has ( id ) ) { const user = users . get ( id ) ; user . dispose ( ) ; users . delete ( id ) ; } }
Remove the graphic for a user that has left.
Remove the graphic for a user that has left .