diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2020-06-23 20:56:55 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2020-06-23 20:56:55 +0300 |
commit | 1471b70ef1550df91687276968108231f1bab604 (patch) | |
tree | 3a59e7497d665d5ce3d6445132453518bc50601d /docs/API/differences_in_mastoapi_responses.md | |
parent | 604a83ae3efe21b231fb524203a883a062102546 (diff) | |
parent | c7d69e925664ce7125c3938c298d72e94a2a1349 (diff) | |
download | pleroma-1471b70ef1550df91687276968108231f1bab604.tar.gz pleroma-1471b70ef1550df91687276968108231f1bab604.zip |
Merge develop
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. |