mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
This commit refactors the code for realm message retention setting which will help us in reusing some code when adding save-discard widget for stream settings in further commits. Following changes have been done in this commit - - Renamed the "retain_for_period" option to "custom_period" and "retain_forever" option to "unlimited" to match with the stream settings options such that we can reuse the code. - Updated set_message_retention_setting_dropdown such that it can be used for stream message retention setting as well.