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