Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔥(frontend) remove default username

lebaudantoine2416ca112707
diff --git a/src/frontend/src/features/rooms/routes/Room.tsx b/src/frontend/src/features/rooms/routes/Room.tsx
index eef3184a..eb4a531a 100644
--- a/src/frontend/src/features/rooms/routes/Room.tsx
+++ b/src/frontend/src/features/rooms/routes/Room.tsx
@@ -10,7 +10,7 @@ import { Conference } from '../components/Conference'
import { Join } from '../components/Join'
export const Room = () => {
- const { user, isLoggedIn } = useUser()
+ const { isLoggedIn } = useUser()
const { userChoices: existingUserChoices } = usePersistentUserChoices()
const [userConfig, setUserConfig] = useState<LocalUserChoices | null>(null)
@@ -39,7 +39,6 @@ export const Room = () => {
mode={mode}
userConfig={{
...existingUserChoices,
- ...(skipJoinScreen ? { username: user?.email as string } : {}),
...userConfig,
}}
/>