After destroying messages, remove the conversation view
This commit is contained in:
parent
272d098e85
commit
cc92cdfa29
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue