Fix video calls (#7256)

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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

View file

@ -220,7 +220,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
const videoCallButton = <AccessibleTooltipButton const videoCallButton = <AccessibleTooltipButton
className="mx_RoomHeader_button mx_RoomHeader_videoCallButton" className="mx_RoomHeader_button mx_RoomHeader_videoCallButton"
onClick={(ev: React.MouseEvent<Element>) => ev.shiftKey ? 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")} title={_t("Video call")}
key="video" key="video"
/>; />;