From 33fcde6d7f78eaeecc8ad763d340e5d06dd1ec42 Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 14 Jun 2021 19:45:57 +0100 Subject: [PATCH] fixed bug where previous username would stick --- dailyjs/basic-call/components/HairCheck/HairCheck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dailyjs/basic-call/components/HairCheck/HairCheck.js b/dailyjs/basic-call/components/HairCheck/HairCheck.js index fc8a711..68d1fe1 100644 --- a/dailyjs/basic-call/components/HairCheck/HairCheck.js +++ b/dailyjs/basic-call/components/HairCheck/HairCheck.js @@ -54,7 +54,7 @@ export const HairCheck = () => { if (access?.level === ACCESS_STATE_LOBBY) { setWaiting(true); const { granted } = await callObject.requestAccess({ - name: localParticipant?.name, + name: userName, access: { level: 'full', },