rampatra / jbot

Make Slack and Facebook Bots in Java.
GNU General Public License v3.0
1.2k stars 350 forks source link

Conversation queues should be replaced by a statemachine #19

Open ashneo76 opened 8 years ago

ashneo76 commented 8 years ago

Implementing the conversation as a queue can lead to stack overflows when conversation needs to be restarted from a point already mentioned in a method before. An acyclic directed graph can be used to handle such a situation.

rampatra commented 8 years ago

Yes, I need to think on this. There is another issue opened which is related to this: https://github.com/ramswaroop/jbot/issues/13