|  |  |  | @ -586,10 +586,7 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) { | 
		
	
		
			
				|  |  |  |  |     // unless it ever becomes possible to load this VC without going via the HomeViewController. | 
		
	
		
			
				|  |  |  |  |     [self.contactsManager requestSystemContactsOnce]; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     [self.uiDatabaseConnection readWithBlock:^(YapDatabaseReadTransaction *_Nonnull transaction) { | 
		
	
		
			
				|  |  |  |  |         self.disappearingMessagesConfiguration = | 
		
	
		
			
				|  |  |  |  |             [OWSDisappearingMessagesConfiguration fetchObjectWithUniqueID:self.thread.uniqueId transaction:transaction]; | 
		
	
		
			
				|  |  |  |  |     }]; | 
		
	
		
			
				|  |  |  |  |     [self updateDisappearingMessagesConfiguration]; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     [self updateBarButtonItems]; | 
		
	
		
			
				|  |  |  |  |     [self setNavigationTitle]; | 
		
	
	
		
			
				
					|  |  |  | @ -1528,6 +1525,14 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) { | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | - (void)updateDisappearingMessagesConfiguration | 
		
	
		
			
				|  |  |  |  | { | 
		
	
		
			
				|  |  |  |  |     [self.uiDatabaseConnection readWithBlock:^(YapDatabaseReadTransaction *_Nonnull transaction) { | 
		
	
		
			
				|  |  |  |  |         self.disappearingMessagesConfiguration = | 
		
	
		
			
				|  |  |  |  |             [OWSDisappearingMessagesConfiguration fetchObjectWithUniqueID:self.thread.uniqueId transaction:transaction]; | 
		
	
		
			
				|  |  |  |  |     }]; | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | - (void)setDisappearingMessagesConfiguration: | 
		
	
		
			
				|  |  |  |  |     (nullable OWSDisappearingMessagesConfiguration *)disappearingMessagesConfiguration | 
		
	
		
			
				|  |  |  |  | { | 
		
	
	
		
			
				
					|  |  |  | @ -2818,10 +2823,7 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) { | 
		
	
		
			
				|  |  |  |  |         [self setNavigationTitle]; | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     [self.uiDatabaseConnection readWithBlock:^(YapDatabaseReadTransaction *_Nonnull transaction) { | 
		
	
		
			
				|  |  |  |  |         self.disappearingMessagesConfiguration = | 
		
	
		
			
				|  |  |  |  |             [OWSDisappearingMessagesConfiguration fetchObjectWithUniqueID:self.thread.uniqueId transaction:transaction]; | 
		
	
		
			
				|  |  |  |  |     }]; | 
		
	
		
			
				|  |  |  |  |     [self updateDisappearingMessagesConfiguration]; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     if (![[self.uiDatabaseConnection ext:TSMessageDatabaseViewExtensionName] hasChangesForGroup:self.thread.uniqueId | 
		
	
		
			
				|  |  |  |  |                                                                                 inNotifications:notifications]) { | 
		
	
	
		
			
				
					|  |  |  | 
 |