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:
Lonami Exo
2022-01-18 18:21:56 +01:00
parent 7142734fb4
commit 3afabdd7c0
4 changed files with 1 additions and 55 deletions

View File

@@ -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.