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

forget(): Delete local data using a replication filter #18

Open
2 tasks
cinnamon-bun opened this issue Jun 4, 2020 · 0 comments
Open
2 tasks

forget(): Delete local data using a replication filter #18

cinnamon-bun opened this issue Jun 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@cinnamon-bun
Copy link
Member

cinnamon-bun commented Jun 4, 2020

Related to #6 (Replication filters)

It should be possible to drop local content that matches or doesn't match a query. You would want to do this if you've just blocked someone, or if unfollowing someone means you want fewer people in your local database.

This isn't a delete message that will propagate, we're just forgetting local data.

  • Add a forget(query) method to IStorage
  • Do we also want the opposite, onlyKeep(query) ?
@cinnamon-bun cinnamon-bun added this to the v2 milestone Jun 4, 2020
@cinnamon-bun cinnamon-bun added enhancement New feature or request and removed figure out labels Jun 13, 2020
@cinnamon-bun cinnamon-bun changed the title Delete local data using a replication filter forget(): Delete local data using a replication filter Aug 4, 2020
@sgwilym sgwilym removed this from the Bananaslug milestone May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants