Skip to content

armgit / meet

Public Imported from GitHub
0

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

🔒️(backend) bind accepted lobby entries to the current username

lebaudantoine96b28da7be4e
diff --git a/src/backend/core/services/lobby.py b/src/backend/core/services/lobby.py
index 5b10228b..e77cfbe8 100644
--- a/src/backend/core/services/lobby.py
+++ b/src/backend/core/services/lobby.py
@@ -197,7 +197,7 @@ class LobbyService:
livekit_config = utils.generate_livekit_config(
room_id=room_id,
user=user,
- username=username,
+ username=participant.username,
color=participant.color,
configuration=room.configuration,
participant_id=participant.id,
@@ -219,7 +219,7 @@ class LobbyService:
livekit_config = utils.generate_livekit_config(
room_id=room_id,
user=user,
- username=username,
+ username=participant.username,
color=participant.color,
configuration=room.configuration,
participant_id=participant.id,