fixed bug where previous username would stick

This commit is contained in:
Jon 2021-06-14 19:45:57 +01:00
parent 22330eda7e
commit 33fcde6d7f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export const HairCheck = () => {
if (access?.level === ACCESS_STATE_LOBBY) { if (access?.level === ACCESS_STATE_LOBBY) {
setWaiting(true); setWaiting(true);
const { granted } = await callObject.requestAccess({ const { granted } = await callObject.requestAccess({
name: localParticipant?.name, name: userName,
access: { access: {
level: 'full', level: 'full',
}, },