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

Last dialog repeated even after calling cancelAllDialogs() #1830

Closed
chahat-arora opened this issue Oct 17, 2019 · 4 comments
Closed

Last dialog repeated even after calling cancelAllDialogs() #1830

chahat-arora opened this issue Oct 17, 2019 · 4 comments
Assignees
Milestone

Comments

@chahat-arora
Copy link
Contributor

I am trying to cancel all on-going conversations using cancelAllDialgs() in the interrupt. In the interrupt, I am starting a new dialog then call cancelAllDialogs() to clear all dialogs but the last dialog from last on-going convo is repeating even after canceling all the dialogs.

Context:

  • Botkit version: 4.5.0
  • Messaging Platform: Mattermost
  • Node version: 12.11.0
  • Os: Ubuntu 18.04 LTS
@benbrown benbrown added this to the 4.6 milestone Oct 30, 2019
@benbrown benbrown self-assigned this Oct 30, 2019
@benbrown
Copy link
Contributor

@chahat-arora I am working on this bug right now.

Can you confirm for me that when you say it repeats the last dialog from last on-going convo, you mean that it sends one final message from the last active dialog before canceling?

@benbrown
Copy link
Contributor

(if so, this should be fixed in v4.6)

@chahat-arora
Copy link
Contributor Author

@chahat-arora I am working on this bug right now.

Can you confirm for me that when you say it repeats the last dialog from last on-going convo, you mean that it sends one final message from the last active dialog before canceling?

Yes, and also it is not fixed in v4.6. I have tested it.

@benbrown
Copy link
Contributor

benbrown commented Dec 2, 2019

Please send some sample code that exhibits this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants