message_edit: Use move_messages_within_stream_limit_seconds setting.

We now use the newly added move_messages_within_stream_limit_seconds
setting to check for how long the user can edit the topic replacing
the previously used 3-day limit. As it was previously, there is no
time limit for admins and moderators.
This commit is contained in:
Sahil Batra
2022-10-11 22:25:40 +05:30
committed by Tim Abbott
parent b919dfd489
commit 2c4e076fef
4 changed files with 25 additions and 4 deletions

View File

@@ -26,6 +26,9 @@ format used by the Zulip server that they are interacting with.
`PATCH /realm`: Added new `move_messages_within_stream_limit_seconds` setting.
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
`PATCH /realm`: Added new `move_messages_between_streams_limit_seconds` setting.
* [`PATCH /messages/{message_id}`](/api/update-message): Time limit to edit
topics, for users other than administrators and moderators, can now be
configured using `move_messages_within_stream_limit_seconds` setting.
**Feature level 161**