Revert/Fix PLT-2805 (#3873)

This commit is contained in:
David Lu
2016-08-29 09:51:29 -04:00
committed by Christopher Speller
parent 167dd22eef
commit d252e61c66
7 changed files with 71 additions and 51 deletions

View File

@@ -81,7 +81,7 @@ func (me *EchoProvider) DoCommand(c *Context, channelId string, message string)
time.Sleep(time.Duration(delay) * time.Second)
if _, err := CreatePost(c.TeamId, post, true); err != nil {
if _, err := CreatePost(c, post, true); err != nil {
l4g.Error(c.T("api.command_echo.create.app_error"), err)
}
}()