mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +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
|
||||
the library itself.
|
||||
"""
|
||||
if not self._polling or not self.handlers:
|
||||
if not self._polling and not self.handlers:
|
||||
return
|
||||
|
||||
with self._updates_lock:
|
||||
|
|
Loading…
Reference in New Issue
Block a user