fix: show call nav status while active call is ongoing

This commit is contained in:
hazre
2026-02-11 14:51:43 +01:00
parent e01009fd07
commit 47f1d1183a

View File

@@ -16,10 +16,10 @@ export function CallNavStatus() {
} = useCallState(); } = useCallState();
const mx = useMatrixClient(); const mx = useMatrixClient();
const { navigateRoom } = useRoomNavigate(); const { navigateRoom } = useRoomNavigate();
if (!isActiveCallReady || !activeCallRoomId) return null;
const handleGoToCallRoom = () => { const handleGoToCallRoom = () => {
if (activeCallRoomId) {
navigateRoom(activeCallRoomId); navigateRoom(activeCallRoomId);
}
}; };
return ( return (