diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md index 8a403f156b..e8f559e17a 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 5126db4381..bf35efa99d 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