Private
Public Access
1
0
Files
Kordophone/kordophoned/src/daemon/contact_resolver/generic.rs

16 lines
405 B
Rust
Raw Normal View History

use super::ContactResolverBackend;
#[derive(Clone, Default)]
pub struct GenericContactResolverBackend;
impl ContactResolverBackend for GenericContactResolverBackend {
type ContactID = String;
fn resolve_contact_id(&self, address: &str) -> Option<Self::ContactID> {
None
}
fn get_contact_display_name(&self, contact_id: &Self::ContactID) -> Option<String> {
None
}
}