mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +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
|
||||
the library itself.
|
||||
"""
|
||||
if not self._polling or not self.handlers:
|
||||
if not self._polling and not self.handlers:
|
||||
return
|
||||
|
||||
with self._updates_lock:
|
||||
|
Reference in New Issue
Block a user