From 640db8e166da5c83d9ee1065d7dd232a9646bc3c Mon Sep 17 00:00:00 2001 From: Werner Kroneman Date: Sun, 10 Dec 2023 15:04:07 +0100 Subject: [PATCH] Removed a commented-out unused method. --- src/widgets/mod.rs | 22 ---------------------- 1 file changed, 22 deletions(-) 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,