mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +03:00
imap: do not unnecessarily SELECT folder in move_delete_messages()
If there are no MOVE/DELETE operations pending, the folder should not be SELECTed. When `only_fetch_mvbox` is enabled, `fetch_new_messages` skips most folders, but `move_delete_messages` always selects the folder even if there are no operations pending. Selecting all folders wastes time during folder scan and turns recent messages into non-recent.
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixes
|
||||
- do not unnecessarily SELECT folders if there are no operations planned on
|
||||
them #3333
|
||||
|
||||
|
||||
## 1.83.0
|
||||
|
||||
### Fixes
|
||||
|
||||
Reference in New Issue
Block a user