|
|
|
@ -102,7 +102,7 @@ impl Sending { |
|
|
|
match response { |
|
|
|
match response { |
|
|
|
Ok((server, is_appservice)) => { |
|
|
|
Ok((server, is_appservice)) => { |
|
|
|
let mut prefix = if is_appservice { |
|
|
|
let mut prefix = if is_appservice { |
|
|
|
"+".as_bytes().to_vec() |
|
|
|
b"+".to_vec() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Vec::new() |
|
|
|
Vec::new() |
|
|
|
}; |
|
|
|
}; |
|
|
|
@ -148,7 +148,7 @@ impl Sending { |
|
|
|
Err((server, is_appservice, e)) => { |
|
|
|
Err((server, is_appservice, e)) => { |
|
|
|
info!("Couldn't send transaction to {}\n{}", server, e); |
|
|
|
info!("Couldn't send transaction to {}\n{}", server, e); |
|
|
|
let mut prefix = if is_appservice { |
|
|
|
let mut prefix = if is_appservice { |
|
|
|
"+".as_bytes().to_vec() |
|
|
|
b"+".to_vec() |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Vec::new() |
|
|
|
Vec::new() |
|
|
|
}; |
|
|
|
}; |
|
|
|
|