Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize #97 user stars/collections update when post visibility changed #106

Merged

Conversation

alimy
Copy link
Collaborator

@alimy alimy commented Jun 16, 2022

pr特性:

  • 在推文可见性修改后,同步更新关联用户的收藏/点赞列表;
  • 用户收藏/点赞只能列出非私密推文;
  • 任何用户都不能收藏/点赞私密推文;
  • 推文又非私密转为私密后,会从用户的收藏/点赞列表消失,重新转为非私密后恢复到原来的用户收藏/点赞列表中,推文的收藏/点赞记录会一直保存,直到推文被物理删除;

@alimy alimy merged commit f5ca695 into rocboss:feature/post-visibility Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant