diff --git a/sam/service/channel.go b/sam/service/channel.go index 69d7025da..5a9654906 100644 --- a/sam/service/channel.go +++ b/sam/service/channel.go @@ -262,7 +262,7 @@ func (svc *channel) Create(in *types.Channel) (out *types.Channel, err error) { return errors.New("Not allowed to create group channels") } - if len(in.Name) == 0 { + if len(in.Name) == 0 && in.Type != types.ChannelTypeGroup { return errors.New("Channel name not provided") }