Actually use the synced setting

This commit is contained in:
Luke Barnard 2017-10-26 09:58:46 +01:00
parent 3ae97348f8
commit 97b9cf6402

View file

@ -112,7 +112,9 @@ module.exports = React.createClass({
document.webkitFullscreenElement);
const maxVideoHeight = fullscreenElement ? null : this.props.maxHeight;
const localVideoFeedClasses = classNames("mx_VideoView_localVideoFeed",
{"mx_VideoView_localVideoFeed_flipped": UserSettingsStore.getSyncedSetting}
{ "mx_VideoView_localVideoFeed_flipped":
UserSettingsStore.getSyncedSetting('VideoView.flipVideoHorizontally'),
},
);
return (
<div className="mx_VideoView" ref={this.setContainer} onClick={this.props.onClick}>