Skip to content

Conversation

@alphatownsman
Copy link

Currently there are a few loopholes about block, a blocked user may still see/interact with posts they should not be able to, this PR hopefully fixes most if not all of them.

Updated area:

  • Public/Trend/List timelines
  • PostInteraction - handled in state handler
  • a few other places that already uses PostQuerySet.visible_to
  • when blocking, also clean up bookmark, interactions and mentions

@dcwatson
Copy link
Member

This looks good except that last part. Seems like blocking shouldn't undo/delete the bookmarks/interactions/mentions, but rather just hide them (as the other changes handle)? I honestly don't know what Mastodon does, but seems like it shouldn't be destructive, at least not immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants