Merge pull request #144 from alimy/pr-search-visible

fixed tweet in correct visibility status after visible tweet
pull/145/head
Michael Li 2 years ago committed by GitHub
commit b86acf3e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -247,6 +247,10 @@ func VisiblePost(user *model.User, postId int64, visibility model.PostVisibleT)
return errcode.VisblePostFailed return errcode.VisblePostFailed
} }
// 推送Search
post.Visibility = visibility
PushPostToSearch(post)
return nil return nil
} }

Loading…
Cancel
Save