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

Commit

Permalink
Fix video calls (#7256)
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
  • Loading branch information
SimonBrandner authored Dec 2, 2021
1 parent 68604e3 commit ab750ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
const videoCallButton = <AccessibleTooltipButton
className="mx_RoomHeader_button mx_RoomHeader_videoCallButton"
onClick={(ev: React.MouseEvent<Element>) => ev.shiftKey ?
this.displayInfoDialogAboutScreensharing() : this.props.onCallPlaced(CallType.Voice)}
this.displayInfoDialogAboutScreensharing() : this.props.onCallPlaced(CallType.Video)}
title={_t("Video call")}
key="video"
/>;
Expand Down

0 comments on commit ab750ae

Please sign in to comment.