mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
rename option 'Prefetch' to 'FetchExisting' and limit it to that
This commit is contained in:
committed by
holger krekel
parent
aa26c52813
commit
0a300da347
@@ -353,13 +353,11 @@ async fn configure(ctx: &Context, param: &mut LoginParam) -> Result<()> {
|
||||
e2ee::ensure_secret_key_exists(ctx).await?;
|
||||
info!(ctx, "key generation completed");
|
||||
|
||||
if ctx.get_config_bool(Config::Prefetch).await {
|
||||
job::add(
|
||||
ctx,
|
||||
job::Job::new(Action::FetchExistingMsgs, 0, Params::new(), 0),
|
||||
)
|
||||
.await;
|
||||
}
|
||||
job::add(
|
||||
ctx,
|
||||
job::Job::new(Action::FetchExistingMsgs, 0, Params::new(), 0),
|
||||
)
|
||||
.await;
|
||||
|
||||
progress!(ctx, 940);
|
||||
update_device_chats_handle.await?;
|
||||
|
||||
Reference in New Issue
Block a user