mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Don't mention new invite-only streams in digest e-mails.
(imported from commit 10ca5dd77736a085f0cc771888ed0aa1ba68a37d)
This commit is contained in:
		@@ -83,7 +83,8 @@ def gather_new_users(user_profile, threshold):
 | 
			
		||||
 | 
			
		||||
def gather_new_streams(user_profile, threshold):
 | 
			
		||||
    new_streams = list(Stream.objects.filter(
 | 
			
		||||
            realm=user_profile.realm, date_created__gt=threshold))
 | 
			
		||||
            realm=user_profile.realm, invite_only=False,
 | 
			
		||||
            date_created__gt=threshold))
 | 
			
		||||
 | 
			
		||||
    base_url = "https://%s/#narrow/stream/" % (settings.EXTERNAL_HOST,)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user