summaryrefslogtreecommitdiff
path: root/docs/API/differences_in_mastoapi_responses.md
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-06-10 12:05:45 +0000
committerrinpatch <rinpatch@sdf.org>2020-06-10 12:05:45 +0000
commit7aa6c82937090ca6f2298dee0ef894954ca2f129 (patch)
tree850f22f06eccd0babae8b805fa55109b536f324c /docs/API/differences_in_mastoapi_responses.md
parent1b746cfbbb55cd3411e809ead246c752a43361d0 (diff)
parent064c4f86f32b626a626fbc238f09434617f57a90 (diff)
downloadpleroma-7aa6c82937090ca6f2298dee0ef894954ca2f129.tar.gz
pleroma-7aa6c82937090ca6f2298dee0ef894954ca2f129.zip
Merge branch 'remake-remodel-dms' into 'develop'
Chats / ChatMessages See merge request pleroma/pleroma!2429
Diffstat (limited to 'docs/API/differences_in_mastoapi_responses.md')
-rw-r--r--docs/API/differences_in_mastoapi_responses.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md
index 434ade9a4..be3c802af 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -230,3 +230,7 @@ Has theses additional parameters (which are the same as in Pleroma-API):
Has these additional fields under the `pleroma` object:
- `unread_count`: contains number unread notifications
+
+## Streaming
+
+There is an additional `user:pleroma_chat` stream. Incoming chat messages will make the current chat be sent to this `user` stream. The `event` of an incoming chat message is `pleroma:chat_update`. The payload is the updated chat with the incoming chat message in the `last_message` field.