mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-15 10:32:28 +03:00
Fix incorrect condition causing updates to be ignored
This commit is contained in:
parent
54ba0661c6
commit
bce88446ef
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user