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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1049356_admins_private_chats.patch | 773 bytes | greggles |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedlooks fair.
Comment #2
gregglesAnd here it is.