This commit is contained in:
rustdesk 2024-03-07 16:37:51 +08:00
parent b5a47efe8e
commit 75a871c437

View file

@ -150,11 +150,11 @@ fn handle_config_options(config_options: HashMap<String, String>) {
config_options
.iter()
.map(|(k, v)| {
if v.is_empty() {
options.remove(k);
} else {
options.insert(k.to_string(), v.to_string());
}
if v.is_empty() {
options.remove(k);
} else {
options.insert(k.to_string(), v.to_string());
}
})
.count();
Config::set_options(options);