Expected:dep_x should be added to list of subscribed departments and dep_y should be removed from the list.
Output:dep_y is being removed and added back into the list immediately.
It doesn't matter whether dep_x and dep_y are the same departments. Issue also occurs when you do first /remove, and then /add.
What's wrong here?
I believe changing the conversation doesn't kill the old conversation. I thought I have implemented this way when I first introduced ConversationHandler for both of those commands, but apparently it doesn't work. This can be seen when you send /done in the 4th step of the example given above. It says Alright, let me know if you need anything else ;) twice.
Try this:
Expected:
dep_x
should be added to list of subscribed departments anddep_y
should be removed from the list.Output:
dep_y
is being removed and added back into the list immediately.It doesn't matter whether
dep_x
anddep_y
are the same departments. Issue also occurs when you do first/remove
, and then/add
.What's wrong here?
I believe changing the conversation doesn't kill the old conversation. I thought I have implemented this way when I first introduced ConversationHandler for both of those commands, but apparently it doesn't work. This can be seen when you send
/done
in the 4th step of the example given above. It says Alright, let me know if you need anything else ;) twice.