mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	streams: Show message retention policy details in subscription_type text.
This commit adds message retention policy details in the subscription_type text below the stream description. We do not show any text when realm-level settings is set to forever and stream-level is set to either forever or realm_default.
This commit is contained in:
		@@ -56,7 +56,7 @@ exports.update_property = function (stream_id, property, value, other_values) {
 | 
			
		||||
        subs.update_stream_post_policy(sub, value);
 | 
			
		||||
        break;
 | 
			
		||||
    case 'message_retention_days':
 | 
			
		||||
        stream_data.update_message_retention_setting(sub, value);
 | 
			
		||||
        subs.update_message_retention_setting(sub, value);
 | 
			
		||||
        break;
 | 
			
		||||
    default:
 | 
			
		||||
        blueslip.warn("Unexpected subscription property type", {property: property,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user