diff --git a/src/lib/hooks.js b/src/lib/hooks.js index 036ee645c..d776c391f 100644 --- a/src/lib/hooks.js +++ b/src/lib/hooks.js @@ -10,6 +10,7 @@ import Triggers from './triggers'; const createOrUpdateGuest = async (guest) => { const { token } = guest; token && await store.setState({ token }); + token && await loadConfig(); const user = await Livechat.grantVisitor({ visitor: { ...guest } }); store.setState({ user }); };