Skip to content

armgit / meet

Public Imported from GitHub
0

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

🐛(frontend) refetch waiting participants when the lobby becomes disabled

lebaudantoine7838d8acfebb
diff --git a/src/frontend/src/features/rooms/components/LobbyProvider.tsx b/src/frontend/src/features/rooms/components/LobbyProvider.tsx
index d01ebb5a..926a1aa1 100644
--- a/src/frontend/src/features/rooms/components/LobbyProvider.tsx
+++ b/src/frontend/src/features/rooms/components/LobbyProvider.tsx
@@ -79,7 +79,7 @@ export const LobbyProvider = () => {
// 3. Rights regained.
const prevCanManageLobby = usePrevious(canManageLobby)
useEffect(() => {
- if (!prevCanManageLobby && canManageLobby && isConnected) {
+ if (prevCanManageLobby != canManageLobby && isConnected) {
fetchIfManager()
}
}, [