only apply verified css to genuinely verified tiles

This commit is contained in:
Matthew Hodgson 2016-09-15 22:49:00 +01:00
parent c21309fdf6
commit 3fcea1bfc7

View File

@ -409,7 +409,7 @@ module.exports = React.createClass({
mx_EventTile_last: this.props.last,
mx_EventTile_contextual: this.props.contextual,
menu: this.state.menu,
mx_EventTile_verified: this.state.verified == true || (e2eEnabled && this.props.eventSendStatus),
mx_EventTile_verified: this.state.verified == true,
mx_EventTile_unverified: this.state.verified == false,
mx_EventTile_bad: this.props.mxEvent.getContent().msgtype === 'm.bad.encrypted',
});