Closed
Description
We don't currently translate Hubzilla Like
activities to mf2 HTML very well. They have both object
and inReplyTo
, which arguably they shouldn't, but probably isn't technically wrong. We convert them to a combined reply and like as mf2, which webmention receivers like the WordPress plugin (cc @dshanske) interpret as a reply over a like. (Which is probably right!)
For AS2 Like
s, we should prioritize the like and remove the reply when converting to AS1 and/or mf2.
Example: https://authorship.studio/activity/143b8b1d-0bf8-46ab-b0bf-065e689120cd . Pruned AS2:
{
"type" : "Like"
"id" : "https://authorship.studio/activity/143b8b1d-0bf8-46ab-b0bf-065e689120cd",
"actor" : "https://authorship.studio/channel/scott",
"inReplyTo" : "https://fed.brid.gy/r/https://snarfed.org/2024-04-07_52743",
"cc" : ["https://authorship.studio/followers/scott"],
"object" : {
"type" : "Note",
"id" : "https://fed.brid.gy/r/https://snarfed.org/2024-04-07_52743",
"actor" : "https://fed.brid.gy/snarfed.org",
"url" : "https://fed.brid.gy/r/https://snarfed.org/2024-04-07_52743"
"attributedTo" : "https://fed.brid.gy/snarfed.org",
"content" : "One of our cats purrs so loudly that it’s a running joke in our family. It makes her fur vibrate. We have to turn the TV volume up when she sits with us. Once, she was in another room, and I heard her purr through the wall. No joke.",
"published" : "2024-04-07T16:07:49Z",
"to" : ["https://www.w3.org/ns/activitystreams#Public"],
},
"published" : "2024-04-07T16:31:35Z",
"to" : ["https://www.w3.org/ns/activitystreams#Public"],
}