Highlight messages using new push rules support in js sdk
This commit is contained in:
parent
9aa9a60333
commit
57ba816919
3 changed files with 13 additions and 1 deletions
|
@ -49,7 +49,8 @@ module.exports = React.createClass({
|
|||
var classes = classNames({
|
||||
mx_MessageTile: true,
|
||||
sending: this.props.mxEvent.status == 'sending',
|
||||
not_sent: this.props.mxEvent.status == 'not_sent'
|
||||
not_sent: this.props.mxEvent.status == 'not_sent',
|
||||
highlight: this.shouldHighlight()
|
||||
});
|
||||
return (
|
||||
<div className={classes}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue