zs пре 2 година
родитељ
комит
7c3035587e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pagesMessage/message/info.vue

+ 1 - 1
pagesMessage/message/info.vue

@@ -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