mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 07:42:37 +00:00
Messages from phone show on screen
This commit is contained in:
@@ -64,16 +64,6 @@ void MessageStore::addFromPacket(const meshtastic_MeshPacket &packet)
|
||||
}
|
||||
|
||||
addLiveMessage(sm);
|
||||
|
||||
// === Auto-switch ONLY if we're currently in ALL-mode ===
|
||||
using graphics::MessageRenderer::getThreadMode;
|
||||
if (getThreadMode() == ThreadMode::ALL) {
|
||||
if (sm.type == MessageType::BROADCAST) {
|
||||
setThreadMode(ThreadMode::CHANNEL, sm.channelIndex);
|
||||
} else if (sm.type == MessageType::DM_TO_US) {
|
||||
setThreadMode(ThreadMode::DIRECT, -1, sm.sender);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// === Outgoing/manual message ===
|
||||
|
||||
Reference in New Issue
Block a user