Allow 'view members' for GMs (#2265)

This commit is contained in:
Nick Frazier 2018-10-15 13:13:52 -04:00 committed by Elias Nahum
parent 1b54e1ebe3
commit e6062d5e26

View file

@ -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 = () => {