Open sasha-x opened 5 years ago
@mpociot , could you plz pay some attention to PRs? There are several other points which may become issues or PRs in main botman repo.
Great, I'll add it to here https://www.npmjs.com/package/botman-extended-web-widget
If I am trying to start conversation with user from widgetOpened event, like this:
I see in my cache conversation duplicates (and in UI too):
The first hash is constantly equals
sha1("")
. The reason is widgetOpened event, which raise first instance of conversation, has no binding to any user.With my fix all seems to work ok.