Import object from self-Announce whenever possible
This commit is contained in:
parent
433f2c0f68
commit
977e711e22
4 changed files with 86 additions and 2 deletions
35
test/fixtures/mastodon-announce-private.json
vendored
Normal file
35
test/fixtures/mastodon-announce-private.json
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
"type": "Announce",
|
||||
"to": [
|
||||
"http://mastodon.example.org/users/admin/followers"
|
||||
],
|
||||
"published": "2018-02-17T19:39:15Z",
|
||||
"object": {
|
||||
"type": "Note",
|
||||
"id": "http://mastodon.example.org/@admin/99541947525187368",
|
||||
"attributedTo": "http://mastodon.example.org/users/admin",
|
||||
"content": "this is a private toot",
|
||||
"to": [
|
||||
"http://mastodon.example.org/users/admin/followers"
|
||||
]
|
||||
},
|
||||
"id": "http://mastodon.example.org/users/admin/statuses/99542391527669785/activity",
|
||||
"atomUri": "http://mastodon.example.org/users/admin/statuses/99542391527669785/activity",
|
||||
"actor": "http://mastodon.example.org/users/admin",
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1",
|
||||
{
|
||||
"toot": "http://joinmastodon.org/ns#",
|
||||
"sensitive": "as:sensitive",
|
||||
"ostatus": "http://ostatus.org#",
|
||||
"movedTo": "as:movedTo",
|
||||
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
|
||||
"inReplyToAtomUri": "ostatus:inReplyToAtomUri",
|
||||
"conversation": "ostatus:conversation",
|
||||
"atomUri": "ostatus:atomUri",
|
||||
"Hashtag": "as:Hashtag",
|
||||
"Emoji": "toot:Emoji"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue