mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	export-search: Write output size before beginning export.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							21db267202
						
					
				
				
					commit
					e44ba1bef1
				
			@@ -107,6 +107,7 @@ This is most often used for legal compliance.
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        messages_query = Message.objects.filter(limits, realm=realm).order_by("date_sent")
 | 
			
		||||
        print(f"Exporting {len(messages_query)} messages...")
 | 
			
		||||
 | 
			
		||||
        def format_sender(full_name: str, delivery_email: str) -> str:
 | 
			
		||||
            return str(Address(display_name=full_name, addr_spec=delivery_email))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user