Self-repairing message counter
This commit is contained in:
		
					parent
					
						
							
								5780c3d4b8
							
						
					
				
			
			
				commit
				
					
						3f7957c20d
					
				
			
		
					 8 changed files with 81 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -277,6 +277,8 @@ const dataInterface: ClientInterface = {
 | 
			
		|||
  processGroupCallRingCancelation,
 | 
			
		||||
  cleanExpiredGroupCallRings,
 | 
			
		||||
 | 
			
		||||
  getMaxMessageCounter,
 | 
			
		||||
 | 
			
		||||
  getStatisticsForLogging,
 | 
			
		||||
 | 
			
		||||
  // Test-only
 | 
			
		||||
| 
						 | 
				
			
			@ -1656,6 +1658,10 @@ async function updateAllConversationColors(
 | 
			
		|||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function getMaxMessageCounter(): Promise<number | undefined> {
 | 
			
		||||
  return channels.getMaxMessageCounter();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function getStatisticsForLogging(): Promise<Record<string, string>> {
 | 
			
		||||
  return channels.getStatisticsForLogging();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue