From 6b44fa7642d8fbdd9fa1e3b9598748e04e7f6721 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 22 Jul 2015 09:14:39 +0100 Subject: [PATCH] Bugfix: Also grey out messages which are in the 'queued' state. --- skins/base/views/molecules/MessageTile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skins/base/views/molecules/MessageTile.js b/skins/base/views/molecules/MessageTile.js index 572ee0d5..15901791 100644 --- a/skins/base/views/molecules/MessageTile.js +++ b/skins/base/views/molecules/MessageTile.js @@ -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,