From cf7f245a49a72cb5d2151766e77c98c2acb71541 Mon Sep 17 00:00:00 2001 From: Pang Date: Sat, 13 Jan 2024 00:14:21 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=A6=86=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/store/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/store/actions.js b/resources/assets/js/store/actions.js index cc0d22e81..7d59f0dd3 100644 --- a/resources/assets/js/store/actions.js +++ b/resources/assets/js/store/actions.js @@ -2872,7 +2872,7 @@ export default { const dialog = state.cacheDialogs.find(({id}) => id == data.dialog_id); if (dialog) { let isUpdate = false - if (!data.read_at) { + if (!data.read_at && data.userid != state.userId) { if (dialog.unread_one) { dialog.unread_one = Math.min(dialog.unread_one, data.id) } else {