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

improve handling of hidden peers #193

Open
cblgh opened this issue Jun 8, 2020 · 0 comments
Open

improve handling of hidden peers #193

cblgh opened this issue Jun 8, 2020 · 0 comments

Comments

@cblgh
Copy link
Member

cblgh commented Jun 8, 2020

  • keep the first three letters of the nick, erase the rest and replace with e.g. the first 6 characters of their public key
  • stop propagating/acting on user update events in cabal-client from peers that are hidden if (user.isHidden()) return

so fuckedUpTroll becomes fuc-f8a1b4. this still allows identification in case something went wrong, or people are just trying out moderation actions for the first time (don't wanna hide nickwarner and then be unable to reverse the hide!!)

the moderation messages that are forwarded to others also need to maintain the nickname such that people can know who has been hidden by whom, otherwise the moderation system becomes inscrutable

extracted from #192 (comment)

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

No branches or pull requests

1 participant