Skip to content

Commit abc30a5

Browse files
committed
feat: do not unconditionally watch mvbox for non-chatmail
Since commit 25750de released in 2.36.0 we do not move messages to mvbox without explicit mvbox_move setting, so do not need to watch it as well as long as other devices are updated to the same change.
1 parent 36b5f15 commit abc30a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/config.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,7 @@ impl Context {
614614
/// Returns true if movebox ("DeltaChat" folder) should be watched.
615615
pub(crate) async fn should_watch_mvbox(&self) -> Result<bool> {
616616
Ok(self.get_config_bool(Config::MvboxMove).await?
617-
|| self.get_config_bool(Config::OnlyFetchMvbox).await?
618-
|| !self.get_config_bool(Config::IsChatmail).await?)
617+
|| self.get_config_bool(Config::OnlyFetchMvbox).await?)
619618
}
620619

621620
/// Returns true if sync messages should be sent.

0 commit comments

Comments
 (0)