Fix: Hide prechat for sessions inititated with setUser (#1914)

This commit is contained in:
Nithin David Thomas 2021-03-20 17:44:20 +05:30 committed by GitHub
parent 484c32fae3
commit 3043ee5058
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 105 additions and 6 deletions

View file

@ -150,6 +150,7 @@ export default {
this.setPopoutDisplay(message.showPopoutButton);
this.fetchAvailableAgents(websiteToken);
this.setHideMessageBubble(message.hideMessageBubble);
this.$store.dispatch('contacts/get');
} else if (message.event === 'widget-visible') {
this.scrollConversationToBottom();
} else if (message.event === 'set-current-url') {