-
Notifications
You must be signed in to change notification settings - Fork 554
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
Blocking someone should unfollow them #1438
Comments
this, if i understand the codebase correctly (i'm pretty new here, still reading and getting familiar with this codebase), this is implemented (at least for the purpose of tests, as it's written on
On this same file, we can find the implementation of block right below unfollow as:
If we assume that
This however, has a few things that worry me. As first of all, these files are mostly from tests, and i'm not sure on how would they differ from the code used in production. On this same line, even if the production functions are exactly the same, both |
@XaurDesu you want to be looking in the bluesky-social/social-app repo. These are just the tests. However, the problem is that there's no async blockAccount() {
const res = await this.rootStore.agent.app.bsky.graph.block.create(
{
repo: this.rootStore.me.did,
},
{
subject: this.did,
createdAt: new Date().toISOString(),
},
)
this.viewer.blocking = res.uri
await this.refresh()
} Which just directly creates a block record. There's no obvious place to add this feature on the server side to my knowledge |
@mozzius would this be a pertinent issue to be leveraged in bluesky-social/social-app? We could probably link to this issue anyhow. |
You can if you'd like, however I maintain that it would be best to do it on the server side |
Paul said that the logic should not be in the PDS: bluesky-social/social-app#1344 |
Describe the bug
Title is pretty much it: I think expected behaviour on block should be to unfollow them.
Users might block someone to distance themselves from a bad actor, yet to an outside observer they’re still following them
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect them to be unfollowed when I block them
Details
Additional context
I understand due to the protocol design currently stopping someone from following you is not possible, however removing your own follows should be very doable
The text was updated successfully, but these errors were encountered: