Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think there's a couple of use cases where the ability to have chats created as private make sense.
As far as I can tell there is no way to do this in code or via the UI.
For code it seems I can:
db_query("UPDATE {chatroom_chat} SET private = 1 WHERE nid = %d", $node->nid);
cache_clear_all('chatroom_chat_list', 'cache');
But what about in the UI?
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedi'd accept a patch for a settings option for the chat node type.