e-hulp/HelpIM — Issue #136: not closing chat correctly as staff and then logging in as client can cause a confused system
Author: winfried
Created: 2012-01-30 09:50:51+00:00
State: open
Labels: bot, xmpptk

This scenario is not confirmed, but observed during a training where there were a lot of connection problems because of a puking network switch.

1) Login as staff and open chat, become available as staff.
2) Close the chat incorrectly (broken connection, killed browser, I don't know)
3) Login as client (care seeker).

The client is then asked for a nickname, but treated by the bot further on as staff and gets an other client assigned.

Would it be possible to detect these situations and/or handle them more gracefully?