minor improve
This commit is contained in:
parent
bdeb55b337
commit
c1af464203
@ -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 New Issue
Block a user