forked from github/cinny
fix: show call nav status while active call is ongoing
This commit is contained in:
@@ -16,10 +16,10 @@ export function CallNavStatus() {
|
||||
} = useCallState();
|
||||
const mx = useMatrixClient();
|
||||
const { navigateRoom } = useRoomNavigate();
|
||||
if (!isActiveCallReady || !activeCallRoomId) return null;
|
||||
|
||||
const handleGoToCallRoom = () => {
|
||||
if (activeCallRoomId) {
|
||||
navigateRoom(activeCallRoomId);
|
||||
}
|
||||
navigateRoom(activeCallRoomId);
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user