Skip to content

Commit

Permalink
Revert "solves Gh 72 - Welcome bot will not let me add a message to p…
Browse files Browse the repository at this point in the history
…rivate channels (#79)"

This reverts commit 517c73e.
  • Loading branch information
mickmister committed May 4, 2023
1 parent 98fd324 commit a501877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a501877

Please sign in to comment.