(fix) update the unseenCount when reading messages

This commit is contained in:
Ludovic Marcotte 2015-08-04 16:08:17 -04:00
parent a27f106a4a
commit 7f43f894b0

View file

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