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

feat: 🎉 blurAuthor plugin #3132

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

TobyBridle
Copy link

@TobyBridle TobyBridle commented Jan 8, 2025

This adds the ability to set author(s) which have their attachments automatically hidden, similar to the existing blurNsfw plugin.

In addition to setting it within the Plugin configuration page, it adds an action to the context menu to add/remove a given user to the blocklist.

Photos:

  • Hidden by default
  • Shown when the IMAGE (not the message) is hovered

Videos:

  • Hidden by default
  • Shown when playing, hovered or in fullscreen

I understand that there may not be an open request for this. I was interested in some plugin development and wanted to do it for personal uses

This adds the ability to set author(s) which have their attachments
automatically hidden, similar to the existing `blurNsfw` plugin.

In addition to setting it within the Plugin configuration page, it adds
an action to the context menu to add/remove a given user to the
blocklist.

Photos:
- Hidden by default
- Shown when the IMAGE (not the message) is hovered

Videos:
- Hidden by default
- Shown when playing, hovered or in fullscreen
`ids` is always a string, removes the unnecessary (and ugly :( ) check
for truthy-ness
@Vendicated
Copy link
Owner

The BlurNSFW plugin has awful code and nothing new should be based on it. We also don't allow plugins that are just slight modifications of others. It would make much more sense to just add this functionality to the original plugin. Could just add an option to mark users as NSFW

@TobyBridle
Copy link
Author

The BlurNSFW plugin has awful code and nothing new should be based on it. We also don't allow plugins that are just slight modifications of others. It would make much more sense to just add this functionality to the original plugin. Could just add an option to mark users as NSFW

If that's welcome, I'm perfectly fine with doing that

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