mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-21 17:06:36 +03:00
fix(session): persist session after session.set_dc
This commit is contained in:
parent
9ca3b599fc
commit
225ea9c3ab
|
@ -313,6 +313,7 @@ class TelegramBaseClient(abc.ABC):
|
|||
DEFAULT_IPV6_IP if self._use_ipv6 else DEFAULT_IPV4_IP,
|
||||
DEFAULT_PORT
|
||||
)
|
||||
session.save()
|
||||
|
||||
self.flood_sleep_threshold = flood_sleep_threshold
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user