Merge pull request #592 from EdouardVanbelle/fix/carddav-parser-tel-adr

fix(carddav): fix tel uri
This commit is contained in:
Dionisio Pozo
2026-07-15 07:21:57 +02:00
committed by GitHub
5 changed files with 384 additions and 17 deletions
+6
View File
@@ -402,6 +402,9 @@ impl Contact {
pub fn push_phone(&mut self, p: Phone) {
self.phone.push(p);
}
pub fn push_address(&mut self, a: Address) {
self.address.push(a);
}
pub fn set_email(&mut self, email: Vec<Email>) {
self.email = email;
}
@@ -417,6 +420,9 @@ impl Contact {
pub fn phone_is_empty(&self) -> bool {
self.phone.is_empty()
}
pub fn address_is_empty(&self) -> bool {
self.address.is_empty()
}
// --- Consuming methods for ownership transfer ---
pub fn into_email(self) -> Vec<Email> {