summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-07 07:25:27 +0000
committerlain <lain@soykaf.club>2019-10-07 07:25:27 +0000
commit91e90aa807c2ce346cd453201447806fb71b21fe (patch)
tree65943118ca0dc28c4fd181e51e8166f76d90ff91 /test/fixtures
parent61097ba6ab1f40f8a885f1adc96455b3c82cfd9b (diff)
parent6a85f7d1eabd957588a2f9b8dfea5b7f982573be (diff)
downloadpleroma-91e90aa807c2ce346cd453201447806fb71b21fe.tar.gz
pleroma-91e90aa807c2ce346cd453201447806fb71b21fe.zip
Merge branch 'misskey-compat' into 'reactions'
Transmogrifier: Handle misskey likes with reactions like EmojiReactions. See merge request pleroma/pleroma!1783
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/misskey-like.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/fixtures/misskey-like.json b/test/fixtures/misskey-like.json
new file mode 100644
index 000000000..84d56f473
--- /dev/null
+++ b/test/fixtures/misskey-like.json
@@ -0,0 +1,14 @@
+{
+ "@context" : [
+ "https://www.w3.org/ns/activitystreams",
+ "https://w3id.org/security/v1",
+ {"Hashtag" : "as:Hashtag"}
+ ],
+ "_misskey_reaction" : "pudding",
+ "actor": "http://mastodon.example.org/users/admin",
+ "cc" : ["https://testing.pleroma.lol/users/lain"],
+ "id" : "https://misskey.xyz/75149198-2f45-46e4-930a-8b0538297075",
+ "nickname" : "lain",
+ "object" : "https://testing.pleroma.lol/objects/c331bbf7-2eb9-4801-a709-2a6103492a5a",
+ "type" : "Like"
+}