summaryrefslogtreecommitdiff
path: root/test/fixtures/mastodon-undo-like-compact-object.json
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-09-30 18:13:05 +0200
committerlain <lain@soykaf.club>2019-09-30 18:13:05 +0200
commitdae744478e7a5b789f2fb541b47eea558a0f2d53 (patch)
tree16cf0ab6647994efd8e332207d189606762515e0 /test/fixtures/mastodon-undo-like-compact-object.json
parenta22a7437d84065192601f73da73d2c27111c9b15 (diff)
downloadpleroma-dae744478e7a5b789f2fb541b47eea558a0f2d53.tar.gz
pleroma-dae744478e7a5b789f2fb541b47eea558a0f2d53.zip
Transmogrifier: Handle compact objects in undos.
Diffstat (limited to 'test/fixtures/mastodon-undo-like-compact-object.json')
-rw-r--r--test/fixtures/mastodon-undo-like-compact-object.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/fixtures/mastodon-undo-like-compact-object.json b/test/fixtures/mastodon-undo-like-compact-object.json
new file mode 100644
index 000000000..ae66a0d19
--- /dev/null
+++ b/test/fixtures/mastodon-undo-like-compact-object.json
@@ -0,0 +1,29 @@
+{
+ "type": "Undo",
+ "signature": {
+ "type": "RsaSignature2017",
+ "signatureValue": "fdxMfQSMwbC6wP6sh6neS/vM5879K67yQkHTbiT5Npr5wAac0y6+o3Ij+41tN3rL6wfuGTosSBTHOtta6R4GCOOhCaCSLMZKypnp1VltCzLDoyrZELnYQIC8gpUXVmIycZbREk22qWUe/w7DAFaKK4UscBlHDzeDVcA0K3Se5Sluqi9/Zh+ldAnEzj/rSEPDjrtvf5wGNf3fHxbKSRKFt90JvKK6hS+vxKUhlRFDf6/SMETw+EhwJSNW4d10yMUakqUWsFv4Acq5LW7l+HpYMvlYY1FZhNde1+uonnCyuQDyvzkff8zwtEJmAXC4RivO/VVLa17SmqheJZfI8oluVg==",
+ "creator": "http://mastodon.example.org/users/admin#main-key",
+ "created": "2018-05-19T16:36:58Z"
+ },
+ "object": "http://mastodon.example.org/users/admin#likes/2",
+ "nickname": "lain",
+ "id": "http://mastodon.example.org/users/admin#likes/2/undo",
+ "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"
+ }
+ ]
+}