grishka,
@grishka@mastodon.social avatar

Working on private messages in #Smithereen and I'm wondering how much sense CWs make for them. From Mastodon's PoV, "private messages" are just posts. They thus share all the same properties. In my implementation, however, messages are distinct from posts, both in the UI and in the database. In my UI I don't have anywhere to display that content warning as a spoiler without it being super awkward. I can use it as a subject line however 🤔

Any thoughts?

#activitypub #mastodev

mike,

Be advised there may or may not be anything deserving of a warning in the summary field. It's purely a Mastodon convention.

The de facto usage definition comes from the early work on RSS by news organisations in the mid 90s. What they wanted was

title
summary (brief description)
body

Most syndication/federation protocols were built around that model. ActivityStreams maps these to name, summary, and content. Content warnings really belong elsewhere, but this wasn't offered in the AS spec. This might be a good subject for an FEP, so that there's something well-defined to use instead of summary. I for one would adopt it in a heartbeat to get our summary field back.

My advice to @Gregory would be to ignore summary completely on DMs if they don't fit your UX design, but hide images if sensitive is set. People can lose their jobs (or got to jail) over "indecent" images popping up without warning.

strypey,
@strypey@mastodon.nzoss.nz avatar

@mike
> something well-defined to use [for CW] instead of summary. I for one would adopt it in a heartbeat to get our summary field back

Why not use title? After all, when a post from Mastodon and similar micro-posting AP apps has CW, a title is essentially what it is.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines