mautrix / telegram

A Matrix-Telegram hybrid puppeting/relaybot bridge
https://matrix.to/#/#telegram:maunium.net
GNU Affero General Public License v3.0
1.27k stars 171 forks source link

Handle Telegram message deletions that happen before bridging the message is finished #649

Open tulir opened 2 years ago

tulir commented 2 years ago

Currently deletions of unknown messages are ignored, but in some cases the messages are unknown because they're in the process of being bridged. In those cases, the messages are bridged successfully, but never get deleted on Matrix

emanuele-f commented 2 years ago

This includes, in particular, messages which are deleted automatically by spam-prevention telegram bots. Currently such messages require manual deletion on the site matrix side