Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api-docs: Update delete_message event for moved messages case.

Lauryn Menardafa5119303cc
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index c9b54c671a5..d6082586e7b 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -1970,9 +1970,16 @@ paths:
Event sent when a message has been deleted.
Sent to all users who received the message.
+ This event is also sent when the user loses access to a message,
+ such as when it is [moved to a stream][message-move-stream] that
+ the user does not [have permission to access][stream-access].
+
**Changes**: Before Zulip 5.0 (feature level 77), events
for direct messages contained additional `sender_id` and
`recipient_id` fields.
+
+ [message-move-stream]: /help/move-content-to-another-stream
+ [stream-access]: /help/stream-permissions
properties:
id:
$ref: "#/components/schemas/EventIdSchema"