mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
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
35 lines
899 B
JSON
35 lines
899 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/private_message/1621",
|
|
"type": "ChatMessage",
|
|
"attributedTo": "https://enterprise.lemmy.ml/u/picard",
|
|
"to": [
|
|
"https://queer.hacktivis.me/users/lanodan"
|
|
],
|
|
"content": "Hello hello, testing",
|
|
"mediaType": "text/html",
|
|
"source": {
|
|
"content": "Hello hello, testing",
|
|
"mediaType": "text/markdown"
|
|
},
|
|
"published": "2021-10-21T10:13:14.597721+00:00"
|
|
}
|