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: Clarify description for `send_new_subscription_messages`.

Kislay Verma396f4d004ac0
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 01497893d28..634d3d319aa 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -28812,17 +28812,20 @@ components:
SendNewSubscriptionMessages:
description: |
Whether any other users newly subscribed via this request should be
- sent a Notification Bot DM notifying them about their new
- subscription.
+ sent a direct message, from Notification Bot, notifying them about their
+ new subscription.
- The server will never send Notification Bot DMs if more than
- `max_bulk_new_subscription_messages` (available in the [`POST
- /register`](/api/register-queue) response) users were subscribed in
- this request.
+ No direct messages are sent for any channels that are created as part of
+ this request, regardless of the value of this parameter.
+
+ The server will never send direct messages when the total number of users
+ who were subscribed to channels in this request was more than the value
+ of `max_bulk_new_subscription_messages`, which is available in the [`POST
+ /register`](/api/register-queue) response.
**Changes**: Before Zulip 11.0 (feature level 397), new subscribers
- were always sent a Notification Bot DM, which was unduly expensive
- when bulk-subscribing thousands of users to a channel.
+ were always sent a Notification Bot direct message, which was unduly
+ expensive when bulk-subscribing thousands of users to a channel.
type: boolean
default: true
example: true