mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-12 07:25:49 +03:00
Init update state cache to empty in init
This commit is contained in:
parent
3b1660669e
commit
26f6c62ce4
|
@ -146,6 +146,7 @@ def init(
|
|||
# Cache session data for convenient access
|
||||
self._session_state = None
|
||||
self._all_dcs = None
|
||||
self._state_cache = statecache.StateCache(None, self._log)
|
||||
|
||||
self._entity_cache = entitycache.EntityCache()
|
||||
self.api_id = int(api_id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user