Skip to content

Commit

Permalink
Merge pull request #19 from IlyaStasiuk/telegram_logout_fix
Browse files Browse the repository at this point in the history
fixed telegram logout
  • Loading branch information
SanGreel authored Dec 16, 2023
2 parents 5e944a4 + d19cb83 commit 1101aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 0_download_dialogs_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async def save_dialogs(client, dialogs_limit):
SESSION_NAME = args.session_name

config = init_config(CONFIG_PATH)
client = TelegramClient(SESSION_NAME, config["api_id"], config["api_hash"])
client = TelegramClient(SESSION_NAME, config["api_id"], config["api_hash"], system_version="4.16.30-vxCUSTOM")

DIALOGS_LIST_FOLDER = config["dialogs_list_folder"]

Expand Down
2 changes: 1 addition & 1 deletion 1_download_dialogs_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async def download_dialog(client, id, MSG_LIMIT, config):

config = init_config(CONFIG_PATH)
dialogs_list = read_dialogs(config["dialogs_list_folder"])
client = telethon.TelegramClient(SESSION_NAME, config["api_id"], config["api_hash"])
client = telethon.TelegramClient(SESSION_NAME, config["api_id"], config["api_hash"], system_version="4.16.30-vxCUSTOM")

DIALOGS_ID = dialogs_id_input_handler(args.dialogs_ids, is_dialog_type_accepted, dialogs_list)

Expand Down

0 comments on commit 1101aa5

Please sign in to comment.