diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index 9fd3902..def9e7e 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -98,28 +98,6 @@ pub async fn run_xmpp_toplevel( } } -// fn retrieve_stored_jid(pkg : &PkvStore) -> Option { -// -// let jid = match pkg.get::("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)] struct Configuration { stored_username: String,