mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-11-04 01:47:27 +03:00 
			
		
		
		
	Fix catch-up when no pts is known
This commit is contained in:
		
							parent
							
								
									d92d989569
								
							
						
					
					
						commit
						cfd6d3ce04
					
				| 
						 | 
				
			
			@ -154,6 +154,9 @@ class UpdateMethods(UserMethods):
 | 
			
		|||
        This can also be used to forcibly fetch new updates if there are any.
 | 
			
		||||
        """
 | 
			
		||||
        pts, date = self._state_cache[None]
 | 
			
		||||
        if not pts:
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        self.session.catching_up = True
 | 
			
		||||
        try:
 | 
			
		||||
            while True:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user