Skip to content

Commit 8c1dd44

Browse files
committed
use timestamp instead of time
1 parent 408830e commit 8c1dd44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3481,7 +3481,7 @@ pub async fn create_group_chat(
34813481

34823482
let chat_id = ChatId::new(u32::try_from(row_id)?);
34833483
if !is_contact_in_chat(context, chat_id, ContactId::SELF).await? {
3484-
add_to_chat_contacts_table(context, time(), chat_id, &[ContactId::SELF]).await?;
3484+
add_to_chat_contacts_table(context, timestamp, chat_id, &[ContactId::SELF]).await?;
34853485
}
34863486

34873487
context.emit_msgs_changed_without_ids();

0 commit comments

Comments
 (0)