summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-10-01 14:07:20 -0400
committerJoramWilander <jwawilander@gmail.com>2015-10-19 09:00:30 -0400
commitaf6e2c29eb0a8610fe218e8ec85e739433eac729 (patch)
tree59836ace0d50cc62b99f007916212454bd5c9e99 /api/command.go
parente308923aeca0a45463aeeeea7b0b3e3bc313f033 (diff)
downloadchat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.gz
chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.tar.bz2
chat-af6e2c29eb0a8610fe218e8ec85e739433eac729.zip
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)
}
}()