From f8d03804e15d0c693431a91eb8c5cea79f27cb7c Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Thu, 20 Feb 2025 22:59:47 +1100 Subject: [PATCH] * room server: minor timing fix --- examples/simple_room_server/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index 0d7b4f64..91252de3 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -344,6 +344,8 @@ protected: reply_data[7] = 0; // FUTURE: reserved memcpy(&reply_data[8], "OK", 2); // REVISIT: not really needed + next_push = futureMillis(PUSH_NOTIFY_DELAY_MILLIS); // delay next push, give RESPONSE packet time to arrive first + if (packet->isRouteFlood()) { // let this sender know path TO here, so they can use sendDirect(), and ALSO encode the response mesh::Packet* path = createPathReturn(sender, client->secret, packet->path, packet->path_len,