(fix) update the unseenCount when reading messages
This commit is contained in:
parent
a27f106a4a
commit
7f43f894b0
|
@ -522,6 +522,7 @@
|
||||||
Message.$$resource.fetch(_this.id, 'markMessageRead').then(function() {
|
Message.$$resource.fetch(_this.id, 'markMessageRead').then(function() {
|
||||||
Message.$timeout(function() {
|
Message.$timeout(function() {
|
||||||
_this.isread = true;
|
_this.isread = true;
|
||||||
|
_this.$mailbox.unseenCount--;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue