mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Fix error 400:CONNECTION_APP_VERSION_EMPTY when using temporary sessions
This commit is contained in:
parent
8afb0a3f6b
commit
2af962230f
|
@ -110,7 +110,7 @@ class JsonSession:
|
|||
# For connection purposes
|
||||
self.device_model = platform.node()
|
||||
self.system_version = platform.system()
|
||||
self.app_version = '0'
|
||||
self.app_version = '1.0' # note: '0' will provoke error
|
||||
self.lang_code = 'en'
|
||||
|
||||
elif isinstance(session_user_id, JsonSession):
|
||||
|
|
Loading…
Reference in New Issue
Block a user