mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Rename folder argument into folder_config
This commit is contained in:
@@ -285,11 +285,11 @@ async fn simple_imap_loop(
|
|||||||
ctx: Context,
|
ctx: Context,
|
||||||
started: Sender<()>,
|
started: Sender<()>,
|
||||||
inbox_handlers: ImapConnectionHandlers,
|
inbox_handlers: ImapConnectionHandlers,
|
||||||
folder: Config,
|
folder_config: Config,
|
||||||
) {
|
) {
|
||||||
use futures::future::FutureExt;
|
use futures::future::FutureExt;
|
||||||
|
|
||||||
info!(ctx, "starting simple loop for {}", folder.as_ref());
|
info!(ctx, "starting simple loop for {}", folder_config);
|
||||||
let ImapConnectionHandlers {
|
let ImapConnectionHandlers {
|
||||||
mut connection,
|
mut connection,
|
||||||
stop_receiver,
|
stop_receiver,
|
||||||
@@ -305,7 +305,7 @@ async fn simple_imap_loop(
|
|||||||
}
|
}
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
fetch_idle(&ctx, &mut connection, folder).await;
|
fetch_idle(&ctx, &mut connection, folder_config).await;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user