Merge pull request #154 from alimy/jc/alimy

fixed don't create tag and notify when create public/friend tweet error
pull/162/head
Michael Li 2 years ago committed by GitHub
commit 35adbcd3fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -143,7 +143,7 @@ func CreatePost(c *gin.Context, userID int64, param PostCreationReq) (*model.Pos
}
// 私密推文不创建标签与用户提醒
if post.Visibility == model.PostVisitPrivate {
if post.Visibility != model.PostVisitPrivate {
// 创建标签
for _, t := range tags {
tag := &model.Tag{

Loading…
Cancel
Save