Remove deleted chats with users from list.
This commit is contained in:
		
							parent
							
								
									383b29dbd8
								
							
						
					
					
						commit
						0a5589f869
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2314,7 +2314,8 @@ bool History::shouldBeInChatList() const {
 | 
			
		|||
			|| !lastMessageKnown()
 | 
			
		||||
			|| (lastMessage() != nullptr);
 | 
			
		||||
	}
 | 
			
		||||
	return true;
 | 
			
		||||
	return !lastMessageKnown()
 | 
			
		||||
		|| (lastMessage() != nullptr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool History::toImportant() const {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue