diff options
Diffstat (limited to 'app/slackimport.go')
-rw-r--r-- | app/slackimport.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/slackimport.go b/app/slackimport.go index 5f1f73632..d3a91815d 100644 --- a/app/slackimport.go +++ b/app/slackimport.go @@ -796,7 +796,7 @@ func (a *App) OldImportIncomingWebhookPost(post *model.Post, props model.StringI for key, val := range props { if key == "attachments" { if attachments, success := val.([]*model.SlackAttachment); success { - parseSlackAttachment(post, attachments) + model.ParseSlackAttachment(post, attachments) } } else if key != "from_webhook" { post.AddProp(key, val) |