diff --git a/src/components/views/rooms/RoomHeader/RoomHeader.tsx b/src/components/views/rooms/RoomHeader/RoomHeader.tsx index e2cc00abda..1cf48f6618 100644 --- a/src/components/views/rooms/RoomHeader/RoomHeader.tsx +++ b/src/components/views/rooms/RoomHeader/RoomHeader.tsx @@ -21,6 +21,7 @@ import PublicIcon from "@vector-im/compound-design-tokens/assets/web/icons/publi import { JoinRule, type Room } from "matrix-js-sdk/src/matrix"; import { type ViewRoomOpts } from "@matrix-org/react-sdk-module-api/lib/lifecycles/RoomViewLifecycle"; import { Flex, Box } from "@element-hq/web-shared-components"; +import { CallType } from "matrix-js-sdk/src/webrtc/call"; import { useRoomName } from "../../../../hooks/useRoomName.ts"; import { RightPanelPhases } from "../../../../stores/right-panel/RightPanelStorePhases.ts"; @@ -73,7 +74,7 @@ function RoomHeaderButtons({ toggleCallMaximized: toggleCall, isViewingCall, isConnectedToCall, - hasActiveCallSession, + activeCallSessionType, callOptions, showVoiceCallButton, showVideoCallButton, @@ -105,15 +106,26 @@ function RoomHeaderButtons({ ); const joinCallButton = ( - +