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

NIP 56 mapping changes #1289

Merged
merged 11 commits into from
Jul 16, 2024
Merged

NIP 56 mapping changes #1289

merged 11 commits into from
Jul 16, 2024

Conversation

dcadenas
Copy link
Contributor

@dcadenas dcadenas commented Jul 10, 2024

Issues covered

#1247

Description

To correctly map with the new changes for the manual moderation channel in Slack we are tweaking how we map some categories and adding impersonation

How to test

Screenshots/Video

Screenshot 2024-07-10 at 1 52 04 PM

@@ -89,7 +89,13 @@ enum ReportCategoryType {
static let nsfw = ReportCategory(
name: .moderation.nsfw,
code: "NW",
nip56Code: .other
nip56Code: .nudity
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While NSFW content may contain nudity, it's not the only option. According to Wikipedia:

The marked content may contain graphic violence, pornography, profanity, nudity, slurs or other potentially disturbing subject matter.

I don't know how NIP-56 is typically used, so maybe .nudity is better than .other for NSFW, but I want to be sure we use the best option here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@setch-l what about changing the NSFW acronym to something else?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nudity and sexual content is fine.

We don't have anything for violence so then it simply results in expanding the categories once again. The goal of this work was in the moment to not have to make people think. More than 7 categories requires people to think too much.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔 why are we bending ourselves around what is in NIP-56? We know it doesn't work for us, that's why we have made our own categories. So let's keep NSFW as a category, it's very broadly useful, and continue mapping it to other for clients that only support NIP-56?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use other we need to get back to use NIP-69 to get the specifics in addition to NIP-56 as we were doing before these changes. If we do that, then the buttons in the Slack channel should be NIP-69 categories, not NIP-56. Not all of what NIP-69 offers but only the same subset available through the app.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. I've read the ticket comments now. I didn't realize we were completely overhauling the categories. This PR is still publishing events with NIP-69 labels, right? Are you planning to remove those in another PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not anymore, this was covered in cd865bf

@@ -61,7 +61,7 @@ enum ReportCategoryType {
static let harassment = ReportCategory(
name: .moderation.harassment,
code: "IL-har",
nip56Code: .other
nip56Code: .profanity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this one as other also. harassment != profanity and in my opinion it's better to be vague and say "other" than to be wrong. We've seen people get upset when they feel like their content has been labeled wrongly and this will only increase that.

@setch-l
Copy link

setch-l commented Jul 11, 2024

@mplorentz @dcadenas @joshuatbrown - The entire point of this work was to remove NIP69 categories across the board. There are too many of them for the type of content moderation we offer today. In the future those categories may be useful.

Daniel and I made a plan. @dcadenas - let's stick to our original plan. If someone tags something NSFW and falls into another category - I don't care. I also think NSFW is less confrontation for those whose content is being tagged.

@dcadenas
Copy link
Contributor Author

Daniel and I made a plan. @dcadenas - let's stick to our original plan. If someone tags something NSFW and falls into another category - I don't care. I also think NSFW is less confrontation for those whose content is being tagged.

@setch-l I'm confused, should we map NSFW to other or to nudity? I think that's the only pending thing here.

@setch-l
Copy link

setch-l commented Jul 12, 2024

To nudity

Copy link
Contributor

@joshuatbrown joshuatbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work, best I can tell.

@dcadenas dcadenas added this pull request to the merge queue Jul 16, 2024
Merged via the queue into main with commit 7e6b2b0 Jul 16, 2024
4 checks passed
@dcadenas dcadenas deleted the nip56-mapping branch July 16, 2024 15:12
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.

4 participants