diff options
Diffstat (limited to 'app/post.go')
-rw-r--r-- | app/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/post.go b/app/post.go index 7ad072943..447fef6bb 100644 --- a/app/post.go +++ b/app/post.go @@ -473,7 +473,7 @@ func DeletePost(postId string) (*model.Post, *model.AppError) { esInterface := einterfaces.GetElasticsearchInterface() if esInterface != nil && *utils.Cfg.ElasticSearchSettings.EnableIndexing { - go esInterface.DeletePost(post.Id) + go esInterface.DeletePost(post) } InvalidateCacheForChannelPosts(post.ChannelId) |