diff options
author | lain <lain@soykaf.club> | 2020-05-29 16:03:55 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-29 16:03:55 +0200 |
commit | b08baf905b09ac49ed908eff8b43593d890612dd (patch) | |
tree | 89ccfea7367eb1f3d6e3d48cce70c13cb0d0f52e /docs/API | |
parent | 767ce8b8030562935ccd9f7c3d9ed83af0735db0 (diff) | |
download | pleroma-b08baf905b09ac49ed908eff8b43593d890612dd.tar.gz |
Docs: Document streaming differences
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 4 |
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. |