mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user