mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 18:41:56 +03:00
Allow telemetry from unofficial builds (#13224)
Release Notes: - N/A Co-authored-by: Peter Tripp <notpeter@users.noreply.github.com>
This commit is contained in:
parent
c84d432b5f
commit
9af4b6bfc7
@ -590,10 +590,6 @@ impl Telemetry {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ZED_CLIENT_CHECKSUM_SEED.is_none() {
|
|
||||||
return;
|
|
||||||
};
|
|
||||||
|
|
||||||
let this = self.clone();
|
let this = self.clone();
|
||||||
self.executor
|
self.executor
|
||||||
.spawn(
|
.spawn(
|
||||||
@ -629,9 +625,7 @@ impl Telemetry {
|
|||||||
serde_json::to_writer(&mut json_bytes, &request_body)?;
|
serde_json::to_writer(&mut json_bytes, &request_body)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let Some(checksum) = calculate_json_checksum(&json_bytes) else {
|
let checksum = calculate_json_checksum(&json_bytes).unwrap_or("".to_string());
|
||||||
return Ok(());
|
|
||||||
};
|
|
||||||
|
|
||||||
let request = http::Request::builder()
|
let request = http::Request::builder()
|
||||||
.method(Method::POST)
|
.method(Method::POST)
|
||||||
|
Loading…
Reference in New Issue
Block a user