From a694b8b39e5e2e0b48ddd4fc83a241eff83efb8d Mon Sep 17 00:00:00 2001 From: leejinho Date: Mon, 23 Mar 2020 09:48:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=80=ED=99=94=EB=B0=A9=20=EC=B4=88?= =?UTF-8?q?=EB=8C=80,=20=EB=82=98=EA=B0=80=EA=B8=B0,=20=EA=B0=95=EC=A0=9C?= =?UTF-8?q?=ED=87=B4=EC=9E=A5=EC=97=90=20=EB=8C=80=ED=95=9C=20=EC=9D=B4?= =?UTF-8?q?=EB=B2=A4=ED=8A=B8=EB=8A=94=20unreadcount=20=EC=B2=98=EB=A6=AC?= =?UTF-8?q?=20=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/store/messenger/event/effects.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts index 0a2e3743..3b6bdcea 100644 --- a/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/messenger/event/effects.ts @@ -949,7 +949,13 @@ export class Effects { * 이때 unread count 를 중가하지 않는다. */ } else { - if (!!trgtRoomInfos && !!trgtRoomInfos[action.roomSeq]) { + if ( + !!trgtRoomInfos && + !!trgtRoomInfos[action.roomSeq] && + action.info.type !== EventType.Join && + action.info.type !== EventType.Exit && + action.info.type !== EventType.ForcedExit + ) { const noReadCnt = trgtRoomInfos[action.roomSeq].noReadCnt; this.store.dispatch( SyncStore.updateUnreadCount({