diff --git a/telethon/update_state.py b/telethon/update_state.py index 8c160184..e92dac1f 100644 --- a/telethon/update_state.py +++ b/telethon/update_state.py @@ -78,7 +78,7 @@ class UpdateState: return # Nothing else to be done 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 self._state.pts = pts