mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-25 00:34:19 +03:00
Fix cancellation of custom conversation events from d474458
This commit is contained in:
parent
cdbd1f6193
commit
f6bc80bc6b
|
@ -372,7 +372,7 @@ class Conversation(ChatGetter):
|
|||
else:
|
||||
pending.cancel()
|
||||
|
||||
for _, fut, _ in self._custom:
|
||||
for _, fut in self._custom:
|
||||
if exception:
|
||||
fut.set_exception(exception)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user