mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 01:34:29 +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:
|
else:
|
||||||
pending.cancel()
|
pending.cancel()
|
||||||
|
|
||||||
for _, fut, _ in self._custom:
|
for _, fut in self._custom:
|
||||||
if exception:
|
if exception:
|
||||||
fut.set_exception(exception)
|
fut.set_exception(exception)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user