mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 02:46:29 +03:00
Make smeared timestamp creation non-async
Using atomic operations instead, so create_smeared_timestamp() can be used in sync functions, such as SQL transactions.
This commit is contained in:
@@ -408,7 +408,7 @@ impl Context {
|
||||
.create_status_update_record(
|
||||
&mut instance,
|
||||
update_str,
|
||||
create_smeared_timestamp(self).await,
|
||||
create_smeared_timestamp(self),
|
||||
send_now,
|
||||
ContactId::SELF,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user