diff --git a/clonechat.py b/clonechat.py index fd0d21a..ef41ec8 100644 --- a/clonechat.py +++ b/clonechat.py @@ -459,6 +459,8 @@ def get_task_file(ORIGIN_CHAT_TITLE, destination_chat): def check_chat_id(chat_id): try: + for _ in tg.get_dialogs(): + pass chat_obj = tg.get_chat(chat_id) chat_title = chat_obj.title return chat_title