summaryrefslogtreecommitdiffstats
path: root/app/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/command.go')
-rw-r--r--app/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command.go b/app/command.go
index 83500cc1f..b9d6748fb 100644
--- a/app/command.go
+++ b/app/command.go
@@ -46,7 +46,7 @@ func CreateCommandPost(post *model.Post, teamId string, response *model.CommandR
}
if response.ResponseType == model.COMMAND_RESPONSE_TYPE_IN_CHANNEL {
- return CreatePost(post, teamId, true)
+ return CreatePostMissingChannel(post, true)
} else if response.ResponseType == "" || response.ResponseType == model.COMMAND_RESPONSE_TYPE_EPHEMERAL {
if response.Text == "" {
return post, nil