mirror of https://github.com/vector-im/riot-web
Bugfix: Also grey out messages which are in the 'queued' state.
parent
772f987489
commit
6b44fa7642
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue