mirror of https://github.com/vector-im/riot-web
only apply verified css to genuinely verified tiles
parent
c21309fdf6
commit
3fcea1bfc7
|
@ -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',
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue