| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -49,14 +49,16 @@ NS_ASSUME_NONNULL_BEGIN
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    [dataOutputStream open];
 | 
					 | 
					 | 
					 | 
					    [dataOutputStream open];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    OWSGroupsOutputStream *groupsOutputStream = [OWSGroupsOutputStream streamWithOutputStream:dataOutputStream];
 | 
					 | 
					 | 
					 | 
					    OWSGroupsOutputStream *groupsOutputStream = [OWSGroupsOutputStream streamWithOutputStream:dataOutputStream];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    [TSGroupThread enumerateCollectionObjectsUsingBlock:^(id obj, BOOL *stop) {
 | 
					 | 
					 | 
					 | 
					    [TSGroupThread
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (![obj isKindOfClass:[TSGroupThread class]]) {
 | 
					 | 
					 | 
					 | 
					        enumerateCollectionObjectsWithTransaction:transaction
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            DDLogVerbose(@"Ignoring non group thread in thread collection: %@", obj);
 | 
					 | 
					 | 
					 | 
					                                       usingBlock:^(id obj, BOOL *stop) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return;
 | 
					 | 
					 | 
					 | 
					                                           if (![obj isKindOfClass:[TSGroupThread class]]) {
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					                                               DDLogVerbose(@"Ignoring non group thread in thread collection: %@", obj);
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        TSGroupModel *group = ((TSGroupThread *)obj).groupModel;
 | 
					 | 
					 | 
					 | 
					                                               return;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        [groupsOutputStream writeGroup:group];
 | 
					 | 
					 | 
					 | 
					                                           }
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }];
 | 
					 | 
					 | 
					 | 
					                                           TSGroupModel *group = ((TSGroupThread *)obj).groupModel;
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                           [groupsOutputStream writeGroup:group];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                       }];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    [groupsOutputStream flush];
 | 
					 | 
					 | 
					 | 
					    [groupsOutputStream flush];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    [dataOutputStream close];
 | 
					 | 
					 | 
					 | 
					    [dataOutputStream close];
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |