aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-05-29 16:03:55 +0200
committerlain <lain@soykaf.club>2020-05-29 16:03:55 +0200
commitb08baf905b09ac49ed908eff8b43593d890612dd (patch)
tree89ccfea7367eb1f3d6e3d48cce70c13cb0d0f52e
parent767ce8b8030562935ccd9f7c3d9ed83af0735db0 (diff)
downloadpleroma-b08baf905b09ac49ed908eff8b43593d890612dd.tar.gz
Docs: Document streaming differences
-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 e65fd5da4..a9d1f2f38 100644
--- a/docs/API/differences_in_mastoapi_responses.md
+++ b/docs/API/differences_in_mastoapi_responses.md
@@ -226,3 +226,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.