Making WordPress.org

Ticket #6327: 6327.patch

File 6327.patch, 1010 bytes (added by Clorith, 3 years ago)
  • sites/trunk/common/includes/slack/announce/lib.php

    diff --git a/sites/trunk/common/includes/slack/announce/lib.php b/sites/trunk/common/includes/slack/announce/lib.php
    a b  
    5353
    5454/**
    5555 * Get the whitelisted channels for a user.
    56  * 
     56 *
    5757 * @param $user           string The user to get the list of channels for.
    5858 * @param $known_channels array  An optional list of channels which are known, so messaging can correctly identify a channel that's not whitelisted. Optional.
    5959 */
     
    174174
    175175                if (
    176176                        $channel_info &&
    177                         ( channel_info['is_private'] || $channel_info['is_group'] || $channel_info['is_mpim'] )
     177                        ( $channel_info['is_private'] || $channel_info['is_group'] || $channel_info['is_mpim'] )
    178178                ) {
    179179                        $channel = 'privategroup';
    180180                }