From cc92cdfa29f619748ac85355359a7ea2460257cf Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 31 Aug 2015 15:50:32 -0700 Subject: [PATCH] After destroying messages, remove the conversation view --- js/views/conversation_view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 2853d6aa2..c533b5a00 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -186,6 +186,7 @@ destroyMessages: function(e) { this.confirm("Permanently delete this conversation?").then(function() { this.model.destroyMessages(); + this.remove(); }.bind(this)); this.$('.menu-list').hide(); },