Skip to content

Commit

Permalink
fix(webchat): default to lazy webchat (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
slvnperron authored Aug 25, 2023
1 parent c61d4c5 commit 15546ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webchat/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class Web extends React.Component<MainProps> {
if (this.config.lazySocket !== undefined) {
return this.config.lazySocket
}
return this.props.botInfo?.lazySocket
return this.props.botInfo?.lazySocket !== false
}

handleResetUnreadCount = () => {
Expand Down

0 comments on commit 15546ec

Please sign in to comment.