From 72c198a1e94cc1e0242fce88f92b3f3caedcd0c3 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 4 Aug 2023 23:19:10 +0800 Subject: [PATCH] add uuid to heartbeat --- src/hbbs_http/sync.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hbbs_http/sync.rs b/src/hbbs_http/sync.rs index f30685aea..84af1f69b 100644 --- a/src/hbbs_http/sync.rs +++ b/src/hbbs_http/sync.rs @@ -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);