mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
rename jobs to make "rg Markseen" and other searches for the job enum produce all places dealing with the enum
This commit is contained in:
committed by
Alexander Krotov
parent
430d4e5f6e
commit
f87cb4231c
@@ -367,7 +367,7 @@ pub fn normalize_setup_code(s: &str) -> String {
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
pub fn job_do_DC_JOB_IMEX_IMAP(context: &Context, job: &Job) -> Result<()> {
|
||||
pub fn JobImexImap(context: &Context, job: &Job) -> Result<()> {
|
||||
ensure!(context.alloc_ongoing(), "could not allocate ongoing");
|
||||
let what: Option<ImexMode> = job.param.get_int(Param::Cmd).and_then(ImexMode::from_i32);
|
||||
let param = job.param.get(Param::Arg).unwrap_or_default();
|
||||
|
||||
Reference in New Issue
Block a user