Bugfix: Also grey out messages which are in the 'queued' state.
This commit is contained in:
parent
772f987489
commit
6b44fa7642
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
var classes = classNames({
|
var classes = classNames({
|
||||||
mx_MessageTile: true,
|
mx_MessageTile: true,
|
||||||
mx_MessageTile_sending: this.props.mxEvent.status == 'sending',
|
mx_MessageTile_sending: ['sending', 'queued'].indexOf(
|
||||||
|
this.props.mxEvent.status
|
||||||
|
) !== -1,
|
||||||
mx_MessageTile_notSent: this.props.mxEvent.status == 'not_sent',
|
mx_MessageTile_notSent: this.props.mxEvent.status == 'not_sent',
|
||||||
mx_MessageTile_highlight: this.shouldHighlight(),
|
mx_MessageTile_highlight: this.shouldHighlight(),
|
||||||
mx_MessageTile_continuation: this.props.continuation,
|
mx_MessageTile_continuation: this.props.continuation,
|
||||||
|
|
Loading…
Reference in a new issue