This commit is contained in:
rustdesk
2023-03-20 00:56:17 +08:00
parent 4d827708c3
commit 706e080071
4 changed files with 22 additions and 21 deletions

View File

@@ -262,10 +262,7 @@ async fn create_relay_connection_(
)
.await?;
let mut msg_out = RendezvousMessage::new();
let mut licence_key = Config::get_option("key");
if licence_key.is_empty() {
licence_key = crate::platform::get_license_key();
}
let licence_key = crate::get_key(true).await;
msg_out.set_request_relay(RequestRelay {
licence_key,
uuid,