tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Problem with secret messaging in Telegram X #2848

Closed khafan11 closed 5 months ago

khafan11 commented 6 months ago

Unfortunately, when I use Telegram X's secret message Usually, after creating a secret message, it is canceled immediately on other party's app Or if it is not canceled, the other party's messages will not be shown to me But my messages are sent!

sometimes It seems ok too, The message is sent and received on both sides , but the other party sends a gif and it is canceled immediately !!!

Telegram on the other side is Vanilla Telegram version 10.10.1 and 10.11.0 and Cherrygram version 8 is based on the same Telegram 10.10.1

My Telegram X version is 0.26.7.1698-arm64-v8a

levlam commented 6 months ago

"Vanilla Telegram" and apps with the same code base have known bugs with implementation of secret chats. Secret chats with them are broken when some message types are sent, for example, GIFs. This can be fixed only on their side.

khafan11 commented 6 months ago

By "Vanilla Telegram" I meant the original Telegram this happens only when I use Telegram X This does not happen if I use other telegrams I saw this problem mentioned in Telegram X group, and apparently its programmer said that it is better to report this issue in tdlib GitHub.

levlam commented 6 months ago

It will definitely happen with all other apps to which the original Android Telegram app will send an incorrectly encoded GIF, except the Android app itself which has no separate scheme for secret chats. Because of this it can send incorrectly serialized messages and can parse some of them.

levlam commented 5 months ago

This should have been fixed in the latest version of the original Android Telegram app.