Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
dont show start call, join button in video rooms.
Browse files Browse the repository at this point in the history
Signed-off-by: Timo K <toger5@hotmail.de>
  • Loading branch information
toger5 committed Jan 17, 2024
1 parent fac8317 commit 7c328fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/rooms/RoomHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ export default function RoomHeader({

{((isConnectedToCall && isViewingCall) || isVideoRoom(room)) && <VideoRoomChatButton room={room} />}

{videoCallButton}
{!isVideoRoom(room) && videoCallButton}

{!useElementCallExclusively && (
{!useElementCallExclusively && !isVideoRoom(room) && (
<Tooltip label={!voiceCallDisabledReason ? _t("voip|voice_call") : voiceCallDisabledReason!}>
<IconButton
disabled={!!voiceCallDisabledReason}
Expand Down

0 comments on commit 7c328fe

Please sign in to comment.