mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	subscription: Include archived channels in streams list.
`is_archived` field is added to the stream and types. Include a new `archived_channeels` client capability, to allow clients to access data on archived channels, without breaking backwards-compatibility for existing clients that don't know how to handle these. Also, included `exclude_archived` parameter to `/get-streams`, which defaults to `true` as basic clients may not be interested in archived streams.
This commit is contained in:
		@@ -847,6 +847,7 @@ def get_streams_backend(
 | 
			
		||||
    include_public: Json[bool] = True,
 | 
			
		||||
    include_web_public: Json[bool] = False,
 | 
			
		||||
    include_subscribed: Json[bool] = True,
 | 
			
		||||
    exclude_archived: Json[bool] = True,
 | 
			
		||||
    include_all_active: Json[bool] = False,
 | 
			
		||||
    include_default: Json[bool] = False,
 | 
			
		||||
    include_owner_subscribed: Json[bool] = False,
 | 
			
		||||
@@ -856,6 +857,7 @@ def get_streams_backend(
 | 
			
		||||
        include_public=include_public,
 | 
			
		||||
        include_web_public=include_web_public,
 | 
			
		||||
        include_subscribed=include_subscribed,
 | 
			
		||||
        exclude_archived=exclude_archived,
 | 
			
		||||
        include_all_active=include_all_active,
 | 
			
		||||
        include_default=include_default,
 | 
			
		||||
        include_owner_subscribed=include_owner_subscribed,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user