Fix video calls (#7256)

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-12-02 11:46:48 +01:00 committed by GitHub
parent 68604e3505
commit ab750aefce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"
/>;