From: lain Date: Thu, 4 Jun 2020 12:49:36 +0000 (+0200) Subject: Docs: Document WebPush changes. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6e103a18af6cfd7f454a911e2f0e1ae35cd45aa4;p=akkoma Docs: Document WebPush changes. --- diff --git a/docs/API/chats.md b/docs/API/chats.md index c0ef75664..abeee698f 100644 --- a/docs/API/chats.md +++ b/docs/API/chats.md @@ -237,3 +237,7 @@ There's a new `pleroma:chat_mention` notification, which has this form. It is no ### 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. + +### Web Push + +If you want to receive push messages for this type, you'll need to add the `pleroma:chat_mention` type to your alerts in the push subscription.