add uuid to heartbeat

This commit is contained in:
rustdesk 2023-08-04 23:19:10 +08:00
parent bf2dbf5ff4
commit 72c198a1e9

View File

@ -90,6 +90,7 @@ async fn start_hbbs_sync_async() {
last_sent = Some(Instant::now());
let mut v = Value::default();
v["id"] = json!(Config::get_id());
v["uuid"] = json!(crate::encode64(hbb_common::get_uuid()));
v["ver"] = json!(hbb_common::get_version_number(crate::VERSION));
if !conns.is_empty() {
v["conns"] = json!(conns);