* room server keep_alive ACKs now have unsynced_count appended.
This commit is contained in:
@@ -583,6 +583,7 @@ protected:
|
|||||||
|
|
||||||
auto reply = createAck(ack_hash);
|
auto reply = createAck(ack_hash);
|
||||||
if (reply) {
|
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);
|
sendDirect(reply, client->out_path, client->out_path_len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user