upd(messaging): remove unneeded check
This commit is contained in:
committed by
Denis Arh
parent
ab39783e50
commit
ddc47af582
@@ -223,10 +223,6 @@ func (svc *channel) Create(in *types.Channel) (out *types.Channel, err error) {
|
||||
}
|
||||
}
|
||||
|
||||
if in.Topic != "" && false {
|
||||
return errors.New("Not allowed to set channel topic")
|
||||
}
|
||||
|
||||
if in.Type == types.ChannelTypePublic && !svc.prm.CanCreatePublicChannel() {
|
||||
return errors.New("Not allowed to create public channels")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user