e-hulp/HelpIM — Issue #131: errors between invite to one2oneroom and joining the room are not detected
Author: winfried
Created: 2012-01-18 09:51:40+00:00
State: open
Labels: bot

If for example the connection of a care seeker breaks, then it takes at least 60 seconds for prosody to time out. If during that 60 seconds the care seeker is invited to a (one2one)room, then the room is assigned to a care worker. Because the care seeker is gone, it never joins the room and there also never is a 'parted' event.

Note: structural fixing of this issue takes a bit of care, and also it needs to handled well in the statistics, storage of chats etc.

Workaround:
If the waiting queue seems to be stuck for one careworker (that is the behaviour the users will see), then let that careworker leave the help-room and rejoin it.