mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
This commit adds code to check time limit as per recently added move_messages_between_streams_limit_seconds setting when moving messages between streams in webapp. There is no time limit for admins and moderators. We add a new function "is_stream_editable" (similar to already existing is_topic_editable function) to check whether user is allowed to move message between streams.