mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Fix cancellation of custom conversation events from d474458
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user