bootbot icon indicating copy to clipboard operation
bootbot copied to clipboard

Keep the conversation after restart app

Open lehainam-dev opened this issue 7 years ago • 1 comments

Hi everyone,

I wonder if somehow the conversation is kept after the app restarts. Currently, if I'm in the middle of a conversation, then the app restarts by some reasons (new features push to master, app crash...), the new messages will be listen on message event, not in the conversation handler.

I know that it is not the issue of the package. I just wonder if there's a way to keep current conversation even after app is restarted.

Any advises or suggestions is appreciated.

lehainam-dev avatar Aug 14 '18 09:08 lehainam-dev

I came here to get an answer to the same question.

Unless I'm missing something huge - there is no way to keep conversations after restarting. Conversations are basically just stored in an in-memory object, and not persisted to any other medium. I will look into this and hopefully come up with a PR to add conversation persistance, but I can't promise anything, as JS isn't one of my stronger languages yet :)

FnTm avatar Sep 19 '18 13:09 FnTm