This commit is contained in:
병준 박 2019-11-11 18:09:55 +09:00
commit 20ce90e1fa

View File

@ -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
};
})
);