summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-10-19 14:24:02 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2015-10-19 14:24:02 -0400
commitd139c9e825d0149329d90684ebe2d6b31a728b16 (patch)
tree484dfe912010791e4eef9fa0152a4b1e3ba987e9 /api/command.go
parentfd69910fab332642a7793e64064169e89eb0c3de (diff)
parentc7d00de68291f5a53353c1391d4548d3f2ec7c0c (diff)
downloadchat-d139c9e825d0149329d90684ebe2d6b31a728b16.tar.gz
chat-d139c9e825d0149329d90684ebe2d6b31a728b16.tar.bz2
chat-d139c9e825d0149329d90684ebe2d6b31a728b16.zip
Merge pull request #1108 from mattermost/plt-235
PLT-235 Implement outgoing webhooks.
Diffstat (limited to 'api/command.go')
-rw-r--r--api/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command.go b/api/command.go
index 94b2cd2f8..52ff8fffd 100644
--- a/api/command.go
+++ b/api/command.go
@@ -145,7 +145,7 @@ func echoCommand(c *Context, command *model.Command) bool {
time.Sleep(time.Duration(delay) * time.Second)
- if _, err := CreatePost(c, post, false); err != nil {
+ if _, err := CreatePost(c, post, true); err != nil {
l4g.Error("Unable to create /echo post, err=%v", err)
}
}()