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

Marking messages as NSFW #108

Open
delthas opened this issue Jul 18, 2023 · 3 comments
Open

Marking messages as NSFW #108

delthas opened this issue Jul 18, 2023 · 3 comments

Comments

@delthas
Copy link

delthas commented Jul 18, 2023

Rationale

Some GUI IRC clients now support image embedding. When users in a channel post an NSFW image, this image is shown without warning/opacity to the user, and there is no way to tell the client that the image is sensitive.

The goal is to add a simple attribute to channel & private messages that tell the clients that the message is NSFW/sensitive, that clients can then use to hide/hide embeds/add a warning/...

An example use case is a chat bot with a command that returns NSFW media: the bot knows in advance that the image is going to be NSFW when posting it. We could also imagine some future client integration where the user can mark the message as sensitive before sending it.

Implementation idea

Define a simple client-tag, e.g. @+nsfw, that clients can send in PRIVMSG and NOTICE messages. A message is NSFW/sensitive if it contains that tag.

  • Pro: trivial, no need for server support, no CHATHISTORY issue
  • Con: no way to attach the tag afterwards by e.g. moderators

Relates to #33

@nektro
Copy link

nektro commented Jul 18, 2023

i think it should more generally be able to spoiler || like this || since that works inline too. it would also be nice if there was a way in the syntax to add alt text so users may decide whether they want to reveal it

@delthas
Copy link
Author

delthas commented Jul 18, 2023

i think it should more generally be able to spoiler || like this || since that works inline too. it would also be nice if there was a way in the syntax to add alt text so users may decide whether they want to reveal it

Spoiler text is discussed in: #33

I think that this is slightly different in the sense that you don't necessarily want to spoiler-text the link, it's just that you want clients not to show the image directly.

@ValwareIRC
Copy link

ValwareIRC commented Aug 24, 2023

I think this should be called +rated. This way a user can explicitly mark a message as safe.
With this, clients can implement not showing media as default behaviour, just in case, but they can choose to view those which are explicitly marked as safe. This saves on tags (+nsfw, +sfw).

This also gives room to key values like +rated=nsfw,gore,18, or +rated=sfw

ValwareIRC added a commit to ValwareIRC/unrealircd-contrib that referenced this issue Aug 24, 2023
ValwareIRC added a commit to ValwareIRC/unrealircd-contrib that referenced this issue Aug 24, 2023
ValwareIRC added a commit to ValwareIRC/unrealircd-contrib that referenced this issue Aug 24, 2023
##  `+draft/rated`
This lets users who post media mark their posts as "Not safe for work" to some degree, allowing other users to choose whether or not they want to see this post.
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

3 participants