Merge pull request #6512 from SimonBrandner/fix/mirroring/5633

This commit is contained in:
Germain 2021-08-04 08:51:22 +01:00 committed by GitHub
commit a07df5e9d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,6 +207,7 @@ export default class VideoFeed extends React.PureComponent<IProps, IState> {
const videoClasses = classnames("mx_VideoFeed_video", { const videoClasses = classnames("mx_VideoFeed_video", {
mx_VideoFeed_video_mirror: ( mx_VideoFeed_video_mirror: (
this.props.feed.isLocal() && this.props.feed.isLocal() &&
this.props.feed.purpose === SDPStreamMetadataPurpose.Usermedia &&
SettingsStore.getValue('VideoView.flipVideoHorizontally') SettingsStore.getValue('VideoView.flipVideoHorizontally')
), ),
}); });