대화방 초대, 나가기, 강제퇴장에 대한 이벤트는 unreadcount 처리 하지 않도록 수정.

This commit is contained in:
leejinho 2020-03-23 09:48:32 +09:00
parent 5fc33c20e8
commit a694b8b39e

View File

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