Update PhoneAPI.cpp

This commit is contained in:
Ben Meadors 2025-07-20 18:57:01 -05:00 committed by GitHub
parent 0e85186535
commit d39e47c60f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -686,7 +686,6 @@ bool PhoneAPI::handleToRadioPacket(meshtastic_MeshPacket &p)
LOG_WARN("Rate limit portnum %d", p.decoded.portnum);
meshtastic_QueueStatus qs = router->getQueueStatus();
service->sendQueueStatusToPhone(qs, 0, p.id);
// FIXME: Needs a specific Routing Error protobuf
service->sendRoutingErrorResponse(meshtastic_Routing_Error_RATE_LIMIT_EXCEEDED, &p);
// sendNotification(meshtastic_LogRecord_Level_WARNING, p.id, "Text messages can only be sent once every 2 seconds");
return false;