cleanup: remove dead UIEventType::advertReceived

The enum value and its case label were never emitted after PR #16 —
both dispatch sites in MyMesh.cpp now use advertReceivedFlood or
advertReceivedZeroHop exclusively.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-06-08 20:47:37 +02:00
parent c339dc7d97
commit ca9b3ff726
2 changed files with 0 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ enum class UIEventType {
contactMessage, contactMessage,
channelMessage, channelMessage,
roomMessage, roomMessage,
advertReceived,
advertReceivedFlood, advertReceivedFlood,
advertReceivedZeroHop, advertReceivedZeroHop,
ack ack

View File

@@ -1468,7 +1468,6 @@ switch(t){
_last_notif_ch_idx = -1; _last_notif_ch_idx = -1;
break; break;
} }
case UIEventType::advertReceived:
case UIEventType::advertReceivedFlood: case UIEventType::advertReceivedFlood:
case UIEventType::advertReceivedZeroHop: { case UIEventType::advertReceivedZeroHop: {
bool is_flood = (t == UIEventType::advertReceivedFlood); bool is_flood = (t == UIEventType::advertReceivedFlood);