From b60527d92ae7869d95648d4df76204b9ac3554cc Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Wed, 18 Feb 2026 04:22:38 -0800 Subject: [PATCH] fix: ingore @ mention in slash commands (closes #9) --- src/LoBBSModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LoBBSModule.cpp b/src/LoBBSModule.cpp index 840ea7b..268d9be 100644 --- a/src/LoBBSModule.cpp +++ b/src/LoBBSModule.cpp @@ -138,7 +138,7 @@ ProcessMessage LoBBSModule::handleReceived(const meshtastic_MeshPacket &mp) { // Check for @mention mail sending BEFORE tokenizing (authenticated users // only) This must happen before strtok destroys the buffer - if (isAuthenticated && strchr(msgBuffer, '@')) { + if (isAuthenticated && msgBuffer[0] != '/' && strchr(msgBuffer, '@')) { LOG_DEBUG("Processing @mention mail from node=0x%0x", mp.from); // Extract message content and find all @mentions