refactor: VcardContact: Change timestamp type to i64

- u64 only adds unnecessary conversions.
- `Contact::last_seen` is also `i64`, so make timestamps such everywhere.
This commit is contained in:
iequidoo
2024-05-15 21:07:24 -03:00
committed by iequidoo
parent 191624f334
commit a38f0ba09e
2 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ pub struct VcardContact {
/// Contact color as hex string.
color: String,
/// Last update timestamp.
timestamp: Option<u64>,
timestamp: Option<i64>,
}
impl From<deltachat_contact_tools::VcardContact> for VcardContact {