summaryrefslogtreecommitdiffstats
path: root/api/command_echo.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command_echo.go')
-rw-r--r--api/command_echo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_echo.go b/api/command_echo.go
index 2e931e414..38e8e07b5 100644
--- a/api/command_echo.go
+++ b/api/command_echo.go
@@ -88,7 +88,7 @@ func (me *EchoProvider) DoCommand(c *Context, args *model.CommandArgs, message s
time.Sleep(time.Duration(delay) * time.Second)
- if _, err := app.CreatePost(post, c.TeamId, true); err != nil {
+ if _, err := app.CreatePost(post, c.TeamId, true, c.GetSiteURL()); err != nil {
l4g.Error(c.T("api.command_echo.create.app_error"), err)
}
}()