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:
@@ -3513,10 +3513,6 @@ class TelegramClient:
|
||||
def _handle_update(self: 'TelegramClient', update):
|
||||
pass
|
||||
|
||||
@forward_call(updates._handle_auto_reconnect)
|
||||
async def _handle_auto_reconnect(self: 'TelegramClient'):
|
||||
pass
|
||||
|
||||
@forward_call(auth._update_session_state)
|
||||
async def _update_session_state(self, user, *, save=True):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user