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

Anonymous’s picture

i'd accept a patch for a settings option for the chat node type.