mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-29 21:03:45 +03:00
Actually fix cancelling custom conversations from f6bc80b
This commit is contained in:
parent
dfab8f5e20
commit
924b59d735
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user