mirror of
https://gitea.mizah.xyz/mizah/dergchat
synced 2024-11-27 03:12:19 -05:00
Removed a commented-out unused method.
This commit is contained in:
parent
8fdf421541
commit
640db8e166
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user