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();
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | set_anonymous_name-1962092-2.patch | 2.22 KB | glekli |
Comments
Comment #1
Anonymous (not verified) commentedthanks for the report.
Comment #2
glekli commentedThe 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.
Comment #4
glekli commented