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
2.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.

  • Gergely Lekli committed b759231 on 7.x-2.x
    Issue #1962092: Name of anonymous user not sent to server.
Gergely Lekli’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.