Update inbox after destroying a conversation

Fixes #247

// FREEBIE
This commit is contained in:
lilia 2015-05-27 14:49:50 -07:00
parent 3e73282a64
commit a66c879426

View file

@ -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() {