J4BBSAZR5O5BSIAZHLHAZS6FXVTUNJC6KFERLS3AC5BVKFJY57EQC
Ok(())
}
async fn send_xmpp(
xmpp_url: &str,
token_url: String,
to: &str,
) -> Result<(), Box<dyn std::error::Error>> {
let client = awc::Client::default();
client
.post(xmpp_url)
.insert_header(("X-XMPP-To", to))
.send_body(format!(
"You requested change for FreeOrion game password.\n\
Use next link {} to enter new password. Link is active for 24 hours.\n\
Don't send it to other people.",
token_url
))
.await?;