Update inbox after destroying a conversation

Fixes #247

// FREEBIE
pull/749/head
lilia 10 years ago
parent 3e73282a64
commit a66c879426

@ -187,7 +187,9 @@
this.messageCollection.reset([]);
_.each(models, function(message) { message.destroy(); });
this.archive();
return this.save();
return this.save().then(function() {
extension.trigger('updateInbox');
});
},
getTitle: function() {

Loading…
Cancel
Save