mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Init update state cache to empty in init
This commit is contained in:
@@ -146,6 +146,7 @@ def init(
|
|||||||
# Cache session data for convenient access
|
# Cache session data for convenient access
|
||||||
self._session_state = None
|
self._session_state = None
|
||||||
self._all_dcs = None
|
self._all_dcs = None
|
||||||
|
self._state_cache = statecache.StateCache(None, self._log)
|
||||||
|
|
||||||
self._entity_cache = entitycache.EntityCache()
|
self._entity_cache = entitycache.EntityCache()
|
||||||
self.api_id = int(api_id)
|
self.api_id = int(api_id)
|
||||||
|
Reference in New Issue
Block a user