Skip to content

Commit cba8c37

Browse files
committed
feat: do not watch mvbox when is_chatmail is set
Since commit 25750de 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 516f0a1 commit cba8c37

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
@@ -594,8 +594,7 @@ impl Context {
594594
/// Returns true if movebox ("DeltaChat" folder) should be watched.
595595
pub(crate) async fn should_watch_mvbox(&self) -> Result<bool> {
596596
Ok(self.get_config_bool(Config::MvboxMove).await?
597-
|| self.get_config_bool(Config::OnlyFetchMvbox).await?
598-
|| !self.get_config_bool(Config::IsChatmail).await?)
597+
|| self.get_config_bool(Config::OnlyFetchMvbox).await?)
599598
}
600599

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

0 commit comments

Comments
 (0)