Removed a commented-out unused method.

This commit is contained in:
Werner Kroneman 2023-12-10 15:04:07 +01:00
parent 8fdf421541
commit 640db8e166

View File

@ -98,28 +98,6 @@ pub async fn run_xmpp_toplevel(
} }
} }
// fn retrieve_stored_jid(pkg : &PkvStore) -> Option<BareJid> {
//
// let jid = match pkg.get::<String>("jid") {
// Ok(x) => x,
// Err(e) => {
// error!("Failed to get JID from PKV: {}", e);
// return None;
// }
// };
//
// let jid = match BareJid::from_str(&jid) {
// Ok(x) => x,
// Err(e) => {
// error!("Failed to parse JID from PKV: {}", e);
// return None;
// }
// };
//
// Some(jid)
//
// }
#[derive(Serialize, Deserialize, Default)] #[derive(Serialize, Deserialize, Default)]
struct Configuration { struct Configuration {
stored_username: String, stored_username: String,