github umputun/tg-spam v1.20.0

11 hours ago

What's Changed

Features

  • Duplicate spam detection enhancements: Show actual time duration between first and last duplicate (e.g., "3 duplicates over 5 minutes")
  • Aggressive cleanup: Add bulk message deletion for duplicate spammers when banned via /spam command
  • Enhanced notifications: Include spammer details in aggressive cleanup notifications

Bug Fixes

  • Ham history contamination: Fixed issue where short unvalidated messages were being added to ham history, potentially contaminating OpenAI context with spam messages

Documentation

  • Updated README with accurate CLI options and duplicate detection documentation
  • Added documentation rule to CLAUDE.md

Commits

  • 2d8d7f6 fix(spam): prevent unvalidated short messages from contaminating ham history
  • 051bb0b docs: sync README with actual CLI options and add documentation rule
  • f668c92 docs(README): update duplicate detection command-line options for consistency and fix typos, fix #318
  • a6f9608 feat(duplicate): show actual duration between first and last duplicate
  • f56e04e feat(spam): add bulk message deletion for duplicate spammers
  • cc3822d Include spammer details in aggressive cleanup notification

Full Changelog: v1.19.2...v1.20.0

Don't miss a new tg-spam release

NewReleases is sending notifications on new releases.