Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Add custom client judgment for hide cm (#11563)

21pagesc0789a5fc0b6
diff --git a/src/ipc.rs b/src/ipc.rs
index 4ddceca27..43c082ae5 100644
--- a/src/ipc.rs
+++ b/src/ipc.rs
@@ -494,7 +494,7 @@ async fn handle(data: Data, stream: &mut Connection) {
None
};
} else if name == "hide_cm" {
- value = if crate::hbbs_http::sync::is_pro() {
+ value = if crate::hbbs_http::sync::is_pro() || crate::common::is_custom_client() {
Some(hbb_common::password_security::hide_cm().to_string())
} else {
None