optimize #141 fixed tweet in correct visibility status after visible action

pull/144/head
alimy 2 years ago
parent 9012c8641d
commit 29fd5fa56c

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

Loading…
Cancel
Save