mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
only apply verified css to genuinely verified tiles
This commit is contained in:
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
Block a user