mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-04 18:21:19 +00:00
Nutomic
dd0ba10b44
* Allow fetching person from Pleroma, including test case (ref #1461) * Added test case for parsing community from apub json - fixed a bug with objectid (de)serialization - fixed a bug with outbox fetching (ref #1582) * Added apub test for post * Ignore errors when reading community outbox (fixes #1582) * Dont fetch community outbox/moderators during tests * added test for lemmy comment * Added federation test for pleroma comment * Added html2md crate to parse comment html from pleroma (fixes #1461) * some fixes for update_apub_test_files.sh * Add tests for ToApub, private message, remove update script * Delete objects from db at the end of each test
36 lines
1.3 KiB
JSON
36 lines
1.3 KiB
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://queer.hacktivis.me/schemas/litepub-0.1.jsonld",
|
|
{
|
|
"@language": "und"
|
|
}
|
|
],
|
|
"actor": "https://queer.hacktivis.me/users/lanodan",
|
|
"attachment": [],
|
|
"attributedTo": "https://queer.hacktivis.me/users/lanodan",
|
|
"cc": [
|
|
"https://www.w3.org/ns/activitystreams#Public"
|
|
],
|
|
"content": "<span class=\"h-card\"><a class=\"u-url mention\" data-user=\"9zkUX4o3WxGM8vGPfU\" href=\"https://pleroma.popolon.org/users/popolon\" rel=\"ugc\">@<span>popolon</span></a></span> Have what?",
|
|
"context": "https://queer.hacktivis.me/contexts/34cba3d2-2f35-4169-aeff-56af9bfeb753",
|
|
"conversation": "https://queer.hacktivis.me/contexts/34cba3d2-2f35-4169-aeff-56af9bfeb753",
|
|
"id": "https://queer.hacktivis.me/objects/8d4973f4-53de-49cd-8c27-df160e16a9c2",
|
|
"inReplyTo": "https://lemmy.ml/post/55143",
|
|
"published": "2021-10-07T18:06:52.555500Z",
|
|
"sensitive": null,
|
|
"source": "@popolon@pleroma.popolon.org Have what?",
|
|
"summary": "",
|
|
"tag": [
|
|
{
|
|
"href": "https://pleroma.popolon.org/users/popolon",
|
|
"name": "@popolon@pleroma.popolon.org",
|
|
"type": "Mention"
|
|
}
|
|
],
|
|
"to": [
|
|
"https://pleroma.popolon.org/users/popolon",
|
|
"https://queer.hacktivis.me/users/lanodan/followers"
|
|
],
|
|
"type": "Note"
|
|
}
|