Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback intent when reloading the session with autoClear: false #66

Open
gdaniel opened this issue Feb 16, 2021 · 1 comment
Open

Fallback intent when reloading the session with autoClear: false #66

gdaniel opened this issue Feb 16, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@gdaniel
Copy link
Member

gdaniel commented Feb 16, 2021

How to reproduce: run the greetings bot example with a widget configured as follows:

xatkit.renderXatkitWidget({
    "server": "https://prod.xatkit.com/wordpress/custom/xat-bot/chat-handler",
    "username": "Alice",
    "storage": {
        "autoClear": false
    }
})

The bot will print the fallback message "Sorry I didn't get it" when reloading the page.

I haven't explored this issue much. In particular I don't know if this is related to the type of storage we use (local or session)

@gdaniel gdaniel added the bug Something isn't working label Feb 16, 2021
@hamzaed
Copy link

hamzaed commented Feb 16, 2021

It's not related to the type of storage. The behavior is the same in both local and session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants