Remove automatic atom retrieval when getting a socketHintMessage
@@ -941,21 +941,8 @@ export function processSocketHintMessage(event) {
recipientAtomUri,
dispatch
)
- )
- .then(connection => {
- const targetAtomUri = connection && connection.targetAtom;
- const targetAtom = getIn(currentState, ["atoms", targetAtomUri]);
-
- if (targetAtom) {
- return Promise.resolve(won.invalidateCacheForAtom(targetAtomUri));
- } else {
- return stateStore.fetchTheirAtomAndDispatch(
- targetAtomUri,
- dispatch
);
}
- });
- }
};
}
