dont set localTransport while still fetching oldest member transport

This commit is contained in:
Timo K
2026-01-14 17:35:35 +01:00
parent 27e351270c
commit b49411abfa
3 changed files with 22 additions and 15 deletions

View File

@@ -435,18 +435,18 @@ export const InCallView: FC<InCallViewProps> = ({
[vm],
);
useEffect(() => {
widget?.api.transport
.send(
gridMode === "grid"
? ElementWidgetActions.TileLayout
: ElementWidgetActions.SpotlightLayout,
{},
)
.catch((e) => {
logger.error("Failed to send layout change to widget API", e);
});
}, [gridMode]);
// useEffect(() => {
// widget?.api.transport
// .send(
// gridMode === "grid"
// ? ElementWidgetActions.TileLayout
// : ElementWidgetActions.SpotlightLayout,
// {},
// )
// .catch((e) => {
// logger.error("Failed to send layout change to widget API", e);
// });
// }, [gridMode]);
useEffect(() => {
if (widget) {