bugfix :: 방을 열고 > 닫았을 경우 unreadcount 쌓이지 않는 문제 수정.
This commit is contained in:
parent
bed06e0f71
commit
0615a7bde0
|
@ -8,6 +8,7 @@ import {
|
|||
} from './actions';
|
||||
|
||||
import * as AuthenticationStore from '@app/store/account/authentication';
|
||||
import * as ChatStore from '@app/store/messenger/chat';
|
||||
import { UserInfo } from '@ucap-webmessenger/protocol-room';
|
||||
|
||||
export const reducer = createReducer(
|
||||
|
@ -67,5 +68,10 @@ export const reducer = createReducer(
|
|||
return {
|
||||
...initialState
|
||||
};
|
||||
}),
|
||||
on(ChatStore.clearSelectedRoom, (state, action) => {
|
||||
return {
|
||||
...initialState
|
||||
};
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user