Closed dannylin108 closed 1 year ago
Can you reproduce this with the latest version of the plugin and empty session data?
Hello. I faced the same issue. I'm using the latest pkg version. The problem appears when user exit the session, then a null value is recorded in the conversation field in MongoDB. I think adding null & undefined checks here will be enough to prevent the problem from recurring.
This will be fixed by #77.
I'm using MongoDB session adapter like this:
So the bot crashes on a first update with the message:
If using default memory session adapter, everything is smooth.