Merged in feature/IO-2949-messaging-multiple-conversations-found (pull request #1748)

IO-2949 change fetch policy on client to resolve issue.
This commit is contained in:
Patrick Fic
2024-09-20 16:51:10 +00:00

View File

@@ -36,7 +36,8 @@ export function* openChatByPhone({ payload }) {
data: { conversations }
} = yield client.query({
query: CONVERSATION_ID_BY_PHONE,
variables: { phone: p.number }
variables: { phone: p.number },
fetchPolicy: 'no-cache'
});
if (conversations.length === 0) {