Update channel mute for adjusted protobuf

This commit is contained in:
Jason P
2025-10-12 08:04:01 -05:00
parent 544331d367
commit 6dfaf23baf

View File

@@ -725,7 +725,7 @@ void handleNewMessage(const StoredMessage &sm, const meshtastic_MeshPacket &pack
bool isChannelMuted = false; bool isChannelMuted = false;
if (sm.type == MessageType::BROADCAST) { if (sm.type == MessageType::BROADCAST) {
const meshtastic_Channel channel = channels.getByIndex(packet.channel ? packet.channel : channels.getPrimaryIndex()); const meshtastic_Channel channel = channels.getByIndex(packet.channel ? packet.channel : channels.getPrimaryIndex());
if (channel.settings.mute) if (channel.settings.has_module_settings && channel.settings.module_settings.is_muted)
isChannelMuted = true; isChannelMuted = true;
} }