mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-31 01:30:00 +00:00
Nutomic
149a4e0de8
* Remove CommentInReplyToMigration * Remove compat for RemovePostCommentOrCommunity * Remove PublicUrlMigration * Change type of pm to ChatMessage from Pleroma, make pm.to array * Use person.summary instead of person.content for pleroma compat * Also change group.content to summary * Rewrite apub object test json to serve as nice examples * Also add test case for parsing pleroma private message
34 lines
975 B
JSON
34 lines
975 B
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
{
|
|
"comments_enabled": {
|
|
"id": "pt:commentsEnabled",
|
|
"type": "sc:Boolean"
|
|
},
|
|
"matrixUserId": {
|
|
"id": "as:alsoKnownAs",
|
|
"type": "sc:Text"
|
|
},
|
|
"moderators": "as:moderators",
|
|
"pt": "https://join-lemmy.org#",
|
|
"sc": "http://schema.org#",
|
|
"sensitive": "as:sensitive",
|
|
"stickied": "as:stickied"
|
|
},
|
|
"https://w3id.org/security/v1"
|
|
],
|
|
"id": "https://enterprise.lemmy.ml/comment/38741",
|
|
"type": "Note",
|
|
"attributedTo": "https://enterprise.lemmy.ml/u/picard",
|
|
"to": ["https://www.w3.org/ns/activitystreams#Public"],
|
|
"inReplyTo": "https://enterprise.lemmy.ml/post/55143",
|
|
"content": "first comment!",
|
|
"mediaType": "text/html",
|
|
"source": {
|
|
"content": "first comment!",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"published": "2021-03-01T13:42:43.966208+00:00",
|
|
"updated": "2021-03-01T13:43:03.955787+00:00"
|
|
}
|