diff --git a/server/command.go b/server/command.go index 9ce161756..dda4bc4f3 100644 --- a/server/command.go +++ b/server/command.go @@ -134,7 +134,7 @@ func (p *Plugin) executeCommandSetWelcome(args *model.CommandArgs) { return } - if channelInfo.Type == model.ChannelTypeDirect { + if channelInfo.Type == model.ChannelTypePrivate { p.postCommandResponse(args, "welcome messages are not supported for direct channels") return }