(fix) update the unseenCount when reading messages

pull/95/merge
Ludovic Marcotte 2015-08-04 16:08:17 -04:00
parent a27f106a4a
commit 7f43f894b0
1 changed files with 1 additions and 0 deletions

View File

@ -522,6 +522,7 @@
Message.$$resource.fetch(_this.id, 'markMessageRead').then(function() {
Message.$timeout(function() {
_this.isread = true;
_this.$mailbox.unseenCount--;
});
});
}