Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants