From 7b1582a0b91258a6a9f525e58967ea5ef3ca12da Mon Sep 17 00:00:00 2001 From: Scott Powell Date: Thu, 17 Apr 2025 15:46:51 +1000 Subject: [PATCH] * room server keep_alive ACKs now have unsynced_count appended. --- examples/simple_room_server/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index c778e81a..3afe76c8 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -583,6 +583,7 @@ protected: auto reply = createAck(ack_hash); if (reply) { + reply->payload[reply->payload_len++] = getUnsyncedCount(client); // NEW: add unsynced counter to end of ACK packet sendDirect(reply, client->out_path, client->out_path_len); } }