mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Stop auto-accepting ToS on sign_up, add get_tos instead
This commit is contained in:
@@ -142,6 +142,7 @@ def init(
|
||||
self.flood_sleep_threshold = flood_sleep_threshold
|
||||
self._flood_waited_requests = {} # prevent calls that would floodwait entirely
|
||||
self._phone_code_hash = None # used during login to prevent exposing the hash to end users
|
||||
self._tos = None # used during signup and when fetching tos (tos/expiry)
|
||||
|
||||
# Update handling.
|
||||
self._catch_up = catch_up
|
||||
|
Reference in New Issue
Block a user