From 5aedfc17e5e943bdabe5256fe26cba7cb9e9f070 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Fri, 5 Dec 2025 19:27:11 -0800 Subject: [PATCH] fix: add filtering for direct messages in LoBBSModule to ignore broadcasts --- src/LoBBSModule.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/LoBBSModule.cpp b/src/LoBBSModule.cpp index 7bf5742..49a2c8a 100644 --- a/src/LoBBSModule.cpp +++ b/src/LoBBSModule.cpp @@ -122,6 +122,11 @@ LoBBSModule::LoBBSModule() : SinglePortModule("LoBBS", meshtastic_PortNum_TEXT_M ProcessMessage LoBBSModule::handleReceived(const meshtastic_MeshPacket &mp) { + // Only process direct messages to this node, ignore broadcasts + if (!isToUs(&mp)) { + return ProcessMessage::CONTINUE; + } + LOG_DEBUG("LoBBS received DM from=0x%0x, id=%d, msg=%.*s", mp.from, mp.id, mp.decoded.payload.size, mp.decoded.payload.bytes); meshtastic_LoBBSUser existingUser = meshtastic_LoBBSUser_init_zero;