mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
Do not interrupt inbox when a moved message is detected
Interrupting inbox task causes fetch on the inbox. There is nothing to fetch on the inbox when a message was just moved to movebox, possibly by another device.
This commit is contained in:
@@ -1402,10 +1402,7 @@ async fn precheck_imf(
|
||||
|
||||
if old_server_folder != server_folder || old_server_uid != server_uid {
|
||||
update_server_uid(context, rfc724_mid, server_folder, server_uid).await;
|
||||
context
|
||||
.interrupt_inbox(InterruptInfo::new(false, Some(msg_id)))
|
||||
.await;
|
||||
info!(context, "Updating server_uid and interrupting")
|
||||
info!(context, "Updating server_uid")
|
||||
}
|
||||
Ok(true)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user