updated ui to check key value

This commit is contained in:
botanicvelious 2023-01-16 14:10:04 -07:00 committed by GitHub
parent 233305ee01
commit 9cf81d2032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,7 +243,12 @@ pub fn set_peer_option(id: String, name: String, value: String) {
#[inline]
pub fn using_public_server() -> bool {
if hbb_common::config::RS_PUB_KEY == "OeVuKk5nlHiXp+APNn0Y3pC1Iwpwn44JGqrQCsWqmBw=" {
crate::get_custom_rendezvous_server(get_option_("custom-rendezvous-server")).is_empty()
return true
} else {
return false
}
}
#[inline]