mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Fix incorrect condition causing updates to be ignored
This commit is contained in:
@@ -51,7 +51,7 @@ class UpdateState:
|
|||||||
"""Processes an update object. This method is normally called by
|
"""Processes an update object. This method is normally called by
|
||||||
the library itself.
|
the library itself.
|
||||||
"""
|
"""
|
||||||
if not self._polling or not self.handlers:
|
if not self._polling and not self.handlers:
|
||||||
return
|
return
|
||||||
|
|
||||||
with self._updates_lock:
|
with self._updates_lock:
|
||||||
|
Reference in New Issue
Block a user