mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-08 06:56:10 +00:00
Update lastAnnounceTime to 'now' when rate-limiting subscription attempts. This ensures each blocked attempt extends the suppression window, preventing attackers from waiting out the backoff while continuously spamming attempts. Previously, the backoff timer was only based on the last successful announce, allowing attackers to receive an announce as soon as the initial backoff expired regardless of how many blocked attempts occurred in between. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>