mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
add repl command for testing interrupt-idle
This commit is contained in:
committed by
holger krekel
parent
b9c7510b58
commit
0ea017c53d
@@ -353,6 +353,7 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E
|
|||||||
configure\n\
|
configure\n\
|
||||||
connect\n\
|
connect\n\
|
||||||
disconnect\n\
|
disconnect\n\
|
||||||
|
interrupt\n\
|
||||||
maybenetwork\n\
|
maybenetwork\n\
|
||||||
housekeeping\n\
|
housekeeping\n\
|
||||||
help imex (Import/Export)\n\
|
help imex (Import/Export)\n\
|
||||||
@@ -493,6 +494,9 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E
|
|||||||
"info" => {
|
"info" => {
|
||||||
println!("{:#?}", context.get_info());
|
println!("{:#?}", context.get_info());
|
||||||
}
|
}
|
||||||
|
"interrupt" => {
|
||||||
|
interrupt_imap_idle(context);
|
||||||
|
}
|
||||||
"maybenetwork" => {
|
"maybenetwork" => {
|
||||||
maybe_network(context);
|
maybe_network(context);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user