mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-10 10:49:39 +00:00
Add back _phone_code_hash
There isn't really a better way to do this.
This commit is contained in:
@@ -141,6 +141,7 @@ def init(
|
|||||||
self._connect_timeout = connect_timeout
|
self._connect_timeout = connect_timeout
|
||||||
self.flood_sleep_threshold = flood_sleep_threshold
|
self.flood_sleep_threshold = flood_sleep_threshold
|
||||||
self._flood_waited_requests = {} # prevent calls that would floodwait entirely
|
self._flood_waited_requests = {} # prevent calls that would floodwait entirely
|
||||||
|
self._phone_code_hash = {} # used during login to prevent exposing the hash to end users
|
||||||
|
|
||||||
# Update handling.
|
# Update handling.
|
||||||
self._catch_up = catch_up
|
self._catch_up = catch_up
|
||||||
|
Reference in New Issue
Block a user