Update ui_interface.rs
This commit is contained in:
parent
ada2d2b539
commit
f87dff262e
@ -245,9 +245,9 @@ pub fn set_peer_option(id: String, name: String, value: String) {
|
|||||||
pub fn using_public_server() -> bool {
|
pub fn using_public_server() -> bool {
|
||||||
let key_check: Option<&'static str> = option_env!("RS_PUB_KEY_VAL");
|
let key_check: Option<&'static str> = option_env!("RS_PUB_KEY_VAL");
|
||||||
if key_check != None && crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() {
|
if key_check != None && crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty() {
|
||||||
return False;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return True;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user