From b85172bcc4363092b25109722bc3e25f9a67ff15 Mon Sep 17 00:00:00 2001 From: pelgraine <140762863+pelgraine@users.noreply.github.com> Date: Fri, 20 Feb 2026 04:43:44 +1100 Subject: [PATCH] fix ble message history bug app to device --- examples/companion_radio/MyMesh.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/companion_radio/MyMesh.cpp b/examples/companion_radio/MyMesh.cpp index c05a9dbf..52c88d05 100644 --- a/examples/companion_radio/MyMesh.cpp +++ b/examples/companion_radio/MyMesh.cpp @@ -1189,6 +1189,11 @@ void MyMesh::handleCmdFrame(size_t len) { bool success = getChannel(channel_idx, channel); if (success && sendGroupMessage(msg_timestamp, channel.channel, _prefs.node_name, text, len - i)) { writeOKFrame(); + #ifdef DISPLAY_CLASS + if (_ui) { + _ui->addSentChannelMessage(channel_idx, _prefs.node_name, text); + } +#endif } else { writeErrFrame(ERR_CODE_NOT_FOUND); // bad channel_idx }