summaryrefslogtreecommitdiff
path: root/test/fixtures/create-chat-message.json
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-08 15:55:43 +0200
committerlain <lain@soykaf.club>2020-04-08 15:55:43 +0200
commit3775683a04e9b819f88bfba533b755bbd5b3c2df (patch)
tree2e12793eb3d3f1a80c79f65fae27bba6eb04f1df /test/fixtures/create-chat-message.json
parent19335be24c25739e2334180af6c59dd8919d5fc8 (diff)
downloadpleroma-3775683a04e9b819f88bfba533b755bbd5b3c2df.tar.gz
pleroma-3775683a04e9b819f88bfba533b755bbd5b3c2df.zip
ChatMessage: Basic incoming handling.
Diffstat (limited to 'test/fixtures/create-chat-message.json')
-rw-r--r--test/fixtures/create-chat-message.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/fixtures/create-chat-message.json b/test/fixtures/create-chat-message.json
new file mode 100644
index 000000000..4aa17f4a5
--- /dev/null
+++ b/test/fixtures/create-chat-message.json
@@ -0,0 +1,19 @@
+{
+ "actor": "http://2hu.gensokyo/users/raymoo",
+ "id": "http://2hu.gensokyo/objects/1",
+ "object": {
+ "attributedTo": "http://2hu.gensokyo/users/raymoo",
+ "content": "You expected a cute girl? Too bad.",
+ "id": "http://2hu.gensokyo/objects/2",
+ "published": "2020-02-12T14:08:20Z",
+ "to": [
+ "http://2hu.gensokyo/users/marisa"
+ ],
+ "type": "ChatMessage"
+ },
+ "published": "2018-02-12T14:08:20Z",
+ "to": [
+ "http://2hu.gensokyo/users/marisa"
+ ],
+ "type": "Create"
+}