mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-24 01:18:21 +00:00
minor improve
This commit is contained in:
parent
bdeb55b337
commit
c1af464203
1 changed files with 1 additions and 1 deletions
|
|
@ -931,7 +931,7 @@ impl PeerConfig {
|
|||
.to_owned();
|
||||
|
||||
let id_decoded_string: String;
|
||||
if id.starts_with("base64_") && id != "base64_" {
|
||||
if id.starts_with("base64_") && id.len() != 7 {
|
||||
let id_decoded = base64::decode(&id[7..], base64::Variant::Original)
|
||||
.unwrap_or(Vec::new());
|
||||
id_decoded_string =
|
||||
|
|
|
|||
Loading…
Reference in a new issue