mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-11-22 08:16:23 +00:00
Addresses review on #812. Scoping the gate to the route was right, but it was implemented as one deadline that moved with the route, so a switch deleted the cooldown rather than setting it aside. Rate-limited on a Tor exit, switch to direct, switch back before the reset, and the app contacts that same limited exit again with nothing left to stop it. Tor and direct now carry their own deadlines. Switching route selects the other one rather than forgetting this one, a success clears only the route that succeeded, and when the route cannot be determined the stricter of the two applies -- failing to identify a route must not release a cooldown that is still running. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>