Also update connection states when participants change

This commit is contained in:
David Baker 2022-11-15 17:33:58 +00:00
parent f2746ab994
commit 5623fa415f

View file

@ -214,6 +214,10 @@ export function InCallView({
};
}, [calls, updateConnectionStates]);
useEffect(() => {
updateConnectionStates();
}, [participants, updateConnectionStates]);
useEffect(() => {
widget?.api.transport.send(
layout === "freedom"