BOD-118 Added Saga to start conversations from anywhere. Removed gql apollo-boost due to package size and replaced with graphql-tag
This commit is contained in:
@@ -15,7 +15,11 @@ const messagingReducer = (state = INITIAL_STATE, action) => {
|
||||
visible: !state.visible,
|
||||
};
|
||||
case MessagingActionTypes.SET_SELECTED_CONVERSATION:
|
||||
return { ...state, selectedConversationId: action.payload };
|
||||
return {
|
||||
...state,
|
||||
visible: true,
|
||||
selectedConversationId: action.payload,
|
||||
};
|
||||
case MessagingActionTypes.SEND_MESSAGE:
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user