* refactor: on-demand getSharedSecret()

This commit is contained in:
Scott Powell 2025-12-06 19:17:45 +11:00
parent 46f6146df7
commit 676c317f78
3 changed files with 19 additions and 26 deletions

View file

@ -73,7 +73,6 @@ class BaseChatMesh : public mesh::Mesh {
mesh::Packet* composeMsgPacket(const ContactInfo& recipient, uint32_t timestamp, uint8_t attempt, const char *text, uint32_t& expected_ack);
void sendAckTo(const ContactInfo& dest, uint32_t ack_hash);
void ensureSharedSecretIsValid(const ContactInfo& contact);
protected:
BaseChatMesh(mesh::Radio& radio, mesh::MillisecondClock& ms, mesh::RNG& rng, mesh::RTCClock& rtc, mesh::PacketManager& mgr, mesh::MeshTables& tables)