fix: separate DM and channel bot reply cooldown timers

Single shared _bot_last_reply_ms caused a DM reply to block the
channel bot for 10s and vice versa. Split into _bot_last_dm_reply_ms
and _bot_last_ch_reply_ms so each cooldown is independent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-17 23:05:49 +02:00
co-authored by Claude Sonnet 4.6
parent 571a56e418
commit 9650ba685b
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -853,7 +853,8 @@ MyMesh::MyMesh(mesh::Radio &radio, mesh::RNG &rng, mesh::RTCClock &rtc, SimpleMe
_cli_rescue = false;
offline_queue_len = 0;
app_target_ver = 0;
_bot_last_reply_ms = 0;
_bot_last_dm_reply_ms = 0;
_bot_last_ch_reply_ms = 0;
_next_auto_advert_ms = 0;
clearPendingReqs();
next_ack_idx = 0;