This is currently wrapped up in some other code, but essentially we need:

          if ($chat->private) {
            if (in_array($user->uid, $chat->allowed_uids) || $is_admin) {
              $chat->title .= ' (Private)';
            }

I'll post a patch later.

CommentFileSizeAuthor
#2 1049356_admins_private_chats.patch773 bytesgreggles
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

looks fair.

greggles’s picture

Status: Active » Needs review
FileSize
773 bytes

And here it is.