diff --git a/src/rust/src/core.rs b/src/rust/src/core.rs index 1fa6189..384077d 100755 --- a/src/rust/src/core.rs +++ b/src/rust/src/core.rs @@ -149,7 +149,7 @@ async fn run( let mut manager = manager.expect("manager must be loaded"); // prepare a PurplePresage message for providing feed-back (send success or error) let mut msg = crate::bridge::Presage::from_account(account); - msg.timestamp = std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).unwrap().as_millis() as u64; + msg.timestamp = std::time::SystemTime::now().duration_since(std::time::UNIX_EPOCH).unwrap().as_secs() as u64; match recipient { crate::structs::Recipient::Contact(uuid) => { msg.who = std::ffi::CString::new(uuid.to_string()).unwrap().into_raw();