A not logged in user can set a name. However a value is not sent in Drupal.chatroom.postMessage in chatroom.js. Every time an empty string is set before:
var anonNameText = '';
It should be replaced with something like:
var anonNameText = $('#edit-chatroom-anon-name-' + chat.cid).val();



beejeebus’s picture

Version:7.x-2.0» 7.x-2.x-dev

thanks for the report.

Gergely Lekli’s picture

Issue summary:View changes
Status:Active» Needs review
new2.22 KB

The following patch will make sure that the anonymous name is sent back to the server, and also displayed when the chatroom is rendered, which was also an outstanding issue.