Gregory on Nostr: Working on private messages in #Smithereen and I'm wondering how much sense CWs make ...
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
Published at
2023-08-24 04:57:43Event JSON
{
"id": "2acd8babb2bf00093bc037f9738604b4a0910c7724f238e47f51164faf085043",
"pubkey": "657b808e53b524d5a0d0d90c290dfaea781d284ded8f590250ca2b9ed0d8cef5",
"created_at": 1692853063,
"kind": 1,
"tags": [
[
"t",
"smithereen"
],
[
"t",
"activitypub"
],
[
"t",
"mastodev"
],
[
"proxy",
"https://mastodon.social/users/grishka/statuses/110942818357242313",
"activitypub"
]
],
"content": "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 🤔\n\nAny thoughts?\n\n#activitypub #mastodev",
"sig": "a779baaa2cadee7ce3e24b6376e100e89aa9090278e59fc7ab735d9c514a9b01b5d0e260d13f08d0123b9b2768ff7377b81399f036066a407f81e59077a3ef71"
}