Merge branch 'bug/fix-relog' into 'master'

Don't keep cached identities query

See merge request framasoft/mobilizon!204
This commit is contained in:
Thomas Citharel 2019-09-26 18:18:33 +02:00
commit a980b9bc89

View File

@ -47,6 +47,7 @@ export async function initializeCurrentActor(apollo: ApolloClient<any>) {
const result = await apollo.query({
query: IDENTITIES,
fetchPolicy: 'network-only',
});
const identities = result.data.identities;
if (identities.length < 1) return;