Allow to see who viewed message from the migrated history.
This commit is contained in:
		
							parent
							
								
									30a945a043
								
							
						
					
					
						commit
						a0110fed27
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -291,10 +291,6 @@ bool WhoReadExists(not_null<HistoryItem*> item) {
 | 
			
		|||
	const auto megagroup = peer->asMegagroup();
 | 
			
		||||
	if (!chat && !megagroup) {
 | 
			
		||||
		return false;
 | 
			
		||||
	} else if (peer->migrateTo()) {
 | 
			
		||||
		// They're all always marked as read.
 | 
			
		||||
		// We don't know if there really are any readers.
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
	const auto &appConfig = peer->session().account().appConfig();
 | 
			
		||||
	const auto expirePeriod = TimeId(appConfig.get<double>(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue