mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user