fixed bug where previous username would stick
This commit is contained in:
parent
22330eda7e
commit
33fcde6d7f
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue