From 9c84d495fa0440499d74d0fde142c965b03de14c Mon Sep 17 00:00:00 2001 From: maisnamrajusingh Date: Sun, 27 Jun 2021 11:32:33 +0000 Subject: [PATCH] fixes issue 72 --- server/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/command.go b/server/command.go index 6a807d1ba..15c270a7e 100644 --- a/server/command.go +++ b/server/command.go @@ -131,7 +131,7 @@ func (p *Plugin) executeCommandSetWelcome(args *model.CommandArgs) { return } - if channelInfo.Type == model.CHANNEL_PRIVATE { + if channelInfo.Type == model.CHANNEL_DIRECT { p.postCommandResponse(args, "welcome messages are not supported for direct channels") return }