mirror of
				https://github.com/LonamiWebs/Telethon.git
				synced 2025-10-31 07:57:38 +03:00 
			
		
		
		
	Process messages without pts
This commit is contained in:
		
							parent
							
								
									f39f9c33a0
								
							
						
					
					
						commit
						73fbfde7ef
					
				|  | @ -78,7 +78,7 @@ class UpdateState: | ||||||
|                 return  # Nothing else to be done |                 return  # Nothing else to be done | ||||||
| 
 | 
 | ||||||
|             pts = getattr(update, 'pts', self._state.pts) |             pts = getattr(update, 'pts', self._state.pts) | ||||||
|             if pts <= self._state.pts: |             if hasattr(update, 'pts') and pts <= self._state.pts: | ||||||
|                 return  # We already handled this update |                 return  # We already handled this update | ||||||
| 
 | 
 | ||||||
|             self._state.pts = pts |             self._state.pts = pts | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user