Allow 'view members' for GMs (#2265)
This commit is contained in:
parent
1b54e1ebe3
commit
e6062d5e26
1 changed files with 1 additions and 2 deletions
|
|
@ -320,9 +320,8 @@ export default class ChannelInfo extends PureComponent {
|
|||
renderViewOrManageMembersRow = () => {
|
||||
const channel = this.props.currentChannel;
|
||||
const isDirectMessage = channel.type === General.DM_CHANNEL;
|
||||
const isGroupMessage = channel.type === General.GM_CHANNEL;
|
||||
|
||||
return !isDirectMessage && !isGroupMessage;
|
||||
return !isDirectMessage;
|
||||
};
|
||||
|
||||
renderLeaveOrDeleteChannelRow = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue