vysheng / tg

telegram-cli
GNU General Public License v2.0
6.39k stars 1.52k forks source link

telegram-cli: tgl/structures.c:1350: tglf_fetch_encrypted_message: Assertion `new_id == id' failed #381

Open Andandaran opened 9 years ago

Andandaran commented 9 years ago

I get this message after sending a private chat from OS X telegram client. I'm running telegram-cli in ubuntu 14.04 (32bits). If I remove the file .telegram-cli/state then I can start telgram-cli, but after quit it's not possible to start telegram-cli until remove the file .telegram-cli/state again. I removed the private chat from the OS X telegram client, but this does not solve the problem. I was using private chats from IOS and Android clients without problems. Perhaps the problem is in the OS X client, but how can I solve the .telegram-cli/state file problem?

vysheng commented 9 years ago

Maybe it is fixed. It failed on some incorrect messages. What client was on another side of secret chat?

Andandaran commented 9 years ago

On the side that send the message causing the error there is the official telegram client for OS X v 1.36. If I send a private chat from the official android or ios client all work fine. Now it's working because the file .telegram-cli/state is not created any more. Perhaps because the ttl is exhausted.