mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 07:16:31 +03:00
apply more CR
This commit is contained in:
committed by
Floris Bruynooghe
parent
f31f341a50
commit
413e3eb62d
@@ -36,8 +36,8 @@ pub type ContextCallback = dyn Fn(&Context, Event, uintptr_t, uintptr_t) -> uint
|
|||||||
|
|
||||||
#[derive(DebugStub)]
|
#[derive(DebugStub)]
|
||||||
pub struct Context {
|
pub struct Context {
|
||||||
pub(crate) dbfile: PathBuf,
|
dbfile: PathBuf,
|
||||||
pub(crate) blobdir: PathBuf,
|
blobdir: PathBuf,
|
||||||
pub sql: Sql,
|
pub sql: Sql,
|
||||||
pub inbox: Arc<RwLock<Imap>>,
|
pub inbox: Arc<RwLock<Imap>>,
|
||||||
pub perform_inbox_jobs_needed: Arc<RwLock<bool>>,
|
pub perform_inbox_jobs_needed: Arc<RwLock<bool>>,
|
||||||
@@ -292,9 +292,9 @@ pub unsafe fn dc_get_info(context: &Context) -> *mut libc::c_char {
|
|||||||
real_msgs,
|
real_msgs,
|
||||||
deaddrop_msgs,
|
deaddrop_msgs,
|
||||||
contacts,
|
contacts,
|
||||||
context.get_dbfile().to_str().unwrap(),
|
context.get_dbfile().display(),
|
||||||
dbversion,
|
dbversion,
|
||||||
context.get_blobdir().to_str().unwrap(),
|
context.get_blobdir().display(),
|
||||||
displayname.unwrap_or_else(|| unset.into()),
|
displayname.unwrap_or_else(|| unset.into()),
|
||||||
is_configured,
|
is_configured,
|
||||||
l,
|
l,
|
||||||
|
|||||||
Reference in New Issue
Block a user