From 12c37c8f15732f751fdca0659f8a4b0331f28cb1 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 23 Aug 2024 15:12:45 +0200 Subject: [PATCH] Add documentation for `notifications_merged` streaming event (#1513) --- content/en/methods/streaming.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/en/methods/streaming.md b/content/en/methods/streaming.md index 9f2806b..13babb7 100644 --- a/content/en/methods/streaming.md +++ b/content/en/methods/streaming.md @@ -52,6 +52,9 @@ aliases: [ `encrypted_message` : An encrypted message has been received. Implemented in v3.2.0 but currently unused +`notifications_merged` +: Accepted notification requests have finished merging, and the notifications list should be refreshed. Payload can be ignored. Available since v4.3.0 + ## Streaming timelines/categories {#streams} `public` @@ -713,4 +716,4 @@ Streaming timelines are maintained in Redis, and are published to Redis via `red {{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/stream.js" caption="app/javascript/mastodon/stream.js" >}} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/actions/streaming.js" caption="app/javascript/mastodon/actions/streaming.js" >}} \ No newline at end of file +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/actions/streaming.js" caption="app/javascript/mastodon/actions/streaming.js" >}}