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 /docs/API/differences_in_mastoapi_responses.md | |
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 'docs/API/differences_in_mastoapi_responses.md')
-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 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. |