RocketChat / Apps.Rasa

Integration between Rocket.Chat and the RASA Chatbot platform
17 stars 12 forks source link

Different Status Code when handover fails #20

Open dudanogueira opened 3 years ago

dudanogueira commented 3 years ago

HI! Thanks for this awesome Apps. It works really well.

I noticed that successfully handing over the room to another department or not, the status code is always the same.

I would like to know if the transfer was sucessfull, meaning it was handed over to another online agent.

Similarly, when I can the API livechat/room.transfer, it will result in {'success': False} if there is no online users. This will allow the rasa action to activate some form loop, for example, get more informations, and at least store those informations at a channel, for example. I tried cloning this repo to develop it my self and send a PR, but could not deploy the app to rocketchat.

dudanogueira commented 3 years ago

Hummm. Just got to see this issue that might be able to help me deploying the app: #18

murtaza98 commented 3 years ago

Hey @dudanogueira Thanks for the feedback. I'm glad you liked this app :smile:

Regarding the issue you mentioned, this should be fixed by PR #24. Feel free to test it and report any more issue you might be getting here.