Skip to content

Reintroduce max_telegram_delete#1083

Open
MrAnno wants to merge 1 commit into
mautrix:mainfrom
MrAnno:max-delete
Open

Reintroduce max_telegram_delete#1083
MrAnno wants to merge 1 commit into
mautrix:mainfrom
MrAnno:max-delete

Conversation

@MrAnno

@MrAnno MrAnno commented Jul 18, 2026

Copy link
Copy Markdown

This PR reintroduces max_telegram_delete, which disappeared during the Go rewrite.
The option can be used to specify the maximum number of simultaneous Telegram message deletions to handle.

In the Python bridge, it was a load/performance-related option, but I found it extremely useful for avoiding accidental or reckless deletion. Telegram has a "delete all messages on both sides" button, which can remove years of memories with two button presses...

The default was 10 in Python; here I set -1 in order not to change the original Go behavior.

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant