parent
3e73282a64
commit
a66c879426
1 changed files with 3 additions and 1 deletions
|
@ -187,7 +187,9 @@
|
||||||
this.messageCollection.reset([]);
|
this.messageCollection.reset([]);
|
||||||
_.each(models, function(message) { message.destroy(); });
|
_.each(models, function(message) { message.destroy(); });
|
||||||
this.archive();
|
this.archive();
|
||||||
return this.save();
|
return this.save().then(function() {
|
||||||
|
extension.trigger('updateInbox');
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
getTitle: function() {
|
getTitle: function() {
|
||||||
|
|
Loading…
Reference in a new issue