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.

openapi: Say message_content_delete_limit_seconds won't be 0 anymore.

Chris Bobbecce27aa47db2
diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md
index 8a403f156b3..e8f559e17a2 100644
--- a/templates/zerver/api/changelog.md
+++ b/templates/zerver/api/changelog.md
@@ -67,7 +67,8 @@ below features are supported.
* [`POST /register`](/api/register-queue), [`GET
/events`](/api/get-events): `message_content_delete_limit_seconds`
- now represents no limit using `null`, instead of the integer 0.
+ now represents no limit using `null`, instead of the integer 0, and 0 is
+ no longer a possible value with any meaning.
* `PATCH /realm`: One now sets `message_content_delete_limit_seconds`
to no limit by passing the string `unlimited`, rather than the
integer 0.
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 5126db43818..bf35efa99dd 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -3580,7 +3580,7 @@ paths:
with this organization's
[message deletion policy](/help/configure-message-editing-and-deletion).
- A 'null' value means no limit: messages can be deleted
+ Will not be 0. A 'null' value means no limit: messages can be deleted
regardless of how long ago they were sent.
**Changes**: No limit was represented using the
@@ -10807,7 +10807,7 @@ paths:
with this organization's
[message deletion policy](/help/configure-message-editing-and-deletion).
- A 'null' value means no limit: messages can be deleted
+ Will not be 0. A 'null' value means no limit: messages can be deleted
regardless of how long ago they were sent.
**Changes**: No limit was represented using the