diff options
| author | rinpatch <rinpatch@sdf.org> | 2020-06-10 12:05:45 +0000 |
|---|---|---|
| committer | rinpatch <rinpatch@sdf.org> | 2020-06-10 12:05:45 +0000 |
| commit | 7aa6c82937090ca6f2298dee0ef894954ca2f129 (patch) | |
| tree | 850f22f06eccd0babae8b805fa55109b536f324c /test/fixtures | |
| parent | 1b746cfbbb55cd3411e809ead246c752a43361d0 (diff) | |
| parent | 064c4f86f32b626a626fbc238f09434617f57a90 (diff) | |
| download | pleroma-7aa6c82937090ca6f2298dee0ef894954ca2f129.tar.gz pleroma-7aa6c82937090ca6f2298dee0ef894954ca2f129.zip | |
Merge branch 'remake-remodel-dms' into 'develop'
Chats / ChatMessages
See merge request pleroma/pleroma!2429
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/create-chat-message.json | 31 |
1 files changed, 31 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..9c23a1c9b --- /dev/null +++ b/test/fixtures/create-chat-message.json @@ -0,0 +1,31 @@ +{ + "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. <script>alert('XSS')</script>", + "id": "http://2hu.gensokyo/objects/2", + "published": "2020-02-12T14:08:20Z", + "to": [ + "http://2hu.gensokyo/users/marisa" + ], + "tag": [ + { + "icon": { + "type": "Image", + "url": "http://2hu.gensokyo/emoji/Firefox.gif" + }, + "id": "http://2hu.gensokyo/emoji/Firefox.gif", + "name": ":firefox:", + "type": "Emoji", + "updated": "1970-01-01T00:00:00Z" + } + ], + "type": "ChatMessage" + }, + "published": "2018-02-12T14:08:20Z", + "to": [ + "http://2hu.gensokyo/users/marisa" + ], + "type": "Create" +} |
