fix(carddav): fix tel uri

This commit is contained in:
Edouard Vanbelle
2026-07-14 22:46:57 +02:00
parent 7557084ad3
commit dc2c8f5dcd
4 changed files with 368 additions and 10 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> {