mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Remove auto-reconnect callback
It's an abstraction leak. The client should know to refetch updates if a long period passed without them on its own.
This commit is contained in:
@@ -190,7 +190,6 @@ def init(
|
||||
auto_reconnect=self._auto_reconnect,
|
||||
connect_timeout=self._connect_timeout,
|
||||
update_callback=self._handle_update,
|
||||
auto_reconnect_callback=self._handle_auto_reconnect
|
||||
)
|
||||
|
||||
# Cache ``{dc_id: (_ExportState, MTProtoSender)}`` for all borrowed senders.
|
||||
|
Reference in New Issue
Block a user