mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Actually fix cancelling custom conversations from f6bc80b
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.values():
|
||||||
if exception:
|
if exception:
|
||||||
fut.set_exception(exception)
|
fut.set_exception(exception)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user