diff --git a/js/views/message_view.js b/js/views/message_view.js index 036578a6..d53cf910 100644 --- a/js/views/message_view.js +++ b/js/views/message_view.js @@ -51,6 +51,8 @@ }) ); + if (this.model.get('delivered')) { this.$el.addClass('delivered'); } + this.$el.find('.attachments').append( this.model.get('attachments').map(function(attachment) { return new Whisper.AttachmentView({