@@ -158,7 +158,7 @@
}
let id = that.msgList.filter(i => {
- return i.speaker != that.user._id;
+ if (i.speaker != that.user._id) return i.is_read = '0';
})
let ids = id.map(i => {
return i._id