| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1598,6 +1598,10 @@ typedef enum : NSUInteger {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (hasEarlierUnseenMessages && !self.focusMessageIdOnOpen) {
 | 
					 | 
					 | 
					 | 
					    if (hasEarlierUnseenMessages && !self.focusMessageIdOnOpen) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // Ensure view items are updated before trying to scroll to the
 | 
					 | 
					 | 
					 | 
					        // Ensure view items are updated before trying to scroll to the
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // unread indicator.
 | 
					 | 
					 | 
					 | 
					        // unread indicator.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        //
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        // loadNMoreMessages calls resetMappings which calls ensureDynamicInteractions,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        // which may move the unread indicator, and for scrollToUnreadIndicatorAnimated
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        // to work properly, the view items need to be updated to reflect that change.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        [[OWSPrimaryStorage sharedManager] updateUIDatabaseConnectionToLatest];
 | 
					 | 
					 | 
					 | 
					        [[OWSPrimaryStorage sharedManager] updateUIDatabaseConnectionToLatest];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        [self scrollToUnreadIndicatorAnimated];
 | 
					 | 
					 | 
					 | 
					        [self scrollToUnreadIndicatorAnimated];
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |