mirror of
https://github.com/chatmail/core.git
synced 2026-05-14 04:16:30 +03:00
Remove unused method
Forgot to do this earlier.
This commit is contained in:
committed by
Floris Bruynooghe
parent
fa1b94af60
commit
abab34573e
@@ -197,15 +197,6 @@ impl Key {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// pub fn from_base64(encoded_data: &str, key_type: KeyType) -> Option<Self> {
|
|
||||||
// // strip newlines and other whitespace
|
|
||||||
// let cleaned: String = encoded_data.trim().split_whitespace().collect();
|
|
||||||
// let bytes = cleaned.as_bytes();
|
|
||||||
// base64::decode(bytes)
|
|
||||||
// .ok()
|
|
||||||
// .and_then(|decoded| Self::from_slice(&decoded, key_type))
|
|
||||||
// }
|
|
||||||
|
|
||||||
pub fn from_self_public(
|
pub fn from_self_public(
|
||||||
context: &Context,
|
context: &Context,
|
||||||
self_addr: impl AsRef<str>,
|
self_addr: impl AsRef<str>,
|
||||||
|
|||||||
Reference in New Issue
Block a user