mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 18:52:30 +00:00
Fix client notification crap
This commit is contained in:
@@ -56,7 +56,13 @@ class MockMeshService : public MeshService
|
|||||||
messages_.emplace_back(*m);
|
messages_.emplace_back(*m);
|
||||||
releaseMqttClientProxyMessageToPool(m);
|
releaseMqttClientProxyMessageToPool(m);
|
||||||
}
|
}
|
||||||
|
void sendClientNotification(meshtastic_ClientNotification *n) override
|
||||||
|
{
|
||||||
|
notifications_.emplace_back(*n);
|
||||||
|
releaseClientNotificationToPool(n);
|
||||||
|
}
|
||||||
std::list<meshtastic_MqttClientProxyMessage> messages_; // Messages received from the MeshService.
|
std::list<meshtastic_MqttClientProxyMessage> messages_; // Messages received from the MeshService.
|
||||||
|
std::list<meshtastic_ClientNotification> notifications_; // Notifications received from the MeshService.
|
||||||
};
|
};
|
||||||
|
|
||||||
// Minimal NodeDB needed to return values from getMeshNode.
|
// Minimal NodeDB needed to return values from getMeshNode.
|
||||||
|
|||||||
Reference in New Issue
Block a user