|
|
|
|
@ -180,7 +180,7 @@ impl Sending {
@@ -180,7 +180,7 @@ impl Sending {
|
|
|
|
|
.map_err(|_| Error::bad_database("ServerName in servernamepduid bytes are invalid.")) |
|
|
|
|
.map(|server_str| { |
|
|
|
|
// Appservices start with a plus
|
|
|
|
|
if server_str.starts_with("+") { |
|
|
|
|
if server_str.starts_with('+') { |
|
|
|
|
(server_str[1..].to_owned(), true) |
|
|
|
|
} else { |
|
|
|
|
(server_str, false) |
|
|
|
|
|