message_edit: Use move_messages_between_streams_limit_seconds setting.

This commit adds time restriction on moving messages between streams
using the move_messages_between_streams_limit_seconds setting in the
backend. There is no time limit for admins and moderators.
This commit is contained in:
Sahil Batra
2022-12-22 12:55:29 +05:30
committed by Tim Abbott
parent d514f2455f
commit 891f83601d
5 changed files with 109 additions and 6 deletions

View File

@@ -29,6 +29,9 @@ format used by the Zulip server that they are interacting with.
* [`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.
* [`PATCH /messages/{message_id}`](/api/update-message): Time limit to move
messages between streams, for users other than administrators and moderators,
can now be configured using `move_messages_between_streams_limit_seconds` setting.
**Feature level 161**