diff options
Diffstat (limited to 'app/command.go')
-rw-r--r-- | app/command.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/command.go b/app/command.go index a1902bd10..8f824982d 100644 --- a/app/command.go +++ b/app/command.go @@ -38,7 +38,7 @@ func GetCommandProvider(name string) CommandProvider { } func (a *App) CreateCommandPost(post *model.Post, teamId string, response *model.CommandResponse) (*model.Post, *model.AppError) { - post.Message = parseSlackLinksToMarkdown(response.Text) + post.Message = model.ParseSlackLinksToMarkdown(response.Text) post.CreateAt = model.GetMillis() if strings.HasPrefix(post.Type, model.POST_SYSTEM_MESSAGE_PREFIX) { @@ -47,7 +47,7 @@ func (a *App) CreateCommandPost(post *model.Post, teamId string, response *model } if response.Attachments != nil { - parseSlackAttachment(post, response.Attachments) + model.ParseSlackAttachment(post, response.Attachments) } if response.ResponseType == model.COMMAND_RESPONSE_TYPE_IN_CHANNEL { |