Bugfix: Also grey out messages which are in the 'queued' state.

pull/1/head
Kegan Dougal 2015-07-22 09:14:39 +01:00
parent 772f987489
commit 6b44fa7642
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ module.exports = React.createClass({
}
var classes = classNames({
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_highlight: this.shouldHighlight(),
mx_MessageTile_continuation: this.props.continuation,