mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
refactor: remove dc_ prefix
* refactor: remove `dc_` prefix from mods * refactor: remove dc_ prefix from functions * fix: avoid temporary `File`s to avoid race conditions * test(pgp): fix runtime usage in Lazy Based on #3462 * fixup: undo some comment changes
This commit is contained in:
committed by
GitHub
parent
26e802cf0f
commit
3e2af8537c
@@ -9,7 +9,7 @@ use deltachat_derive::{FromSql, ToSql};
|
||||
|
||||
use crate::chat::ChatId;
|
||||
use crate::context::Context;
|
||||
use crate::dc_tools::{dc_create_id, time};
|
||||
use crate::tools::{create_id, time};
|
||||
|
||||
/// Token namespace
|
||||
#[derive(
|
||||
@@ -103,7 +103,7 @@ pub async fn lookup_or_new(
|
||||
return token;
|
||||
}
|
||||
|
||||
let token = dc_create_id();
|
||||
let token = create_id();
|
||||
save(context, namespace, foreign_id, &token).await.ok();
|
||||
token
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user