imap: move messages in batches

Also change how NO response is treated. NO response means there is an
error moving/copying the messages. When there are no matching
messages, the response is "OK No matching messages, so nothing copied"
according to some RFC 9051 examples.
This commit is contained in:
link2xt
2022-02-05 00:26:49 +00:00
parent fb19b58147
commit 276daf631e
3 changed files with 127 additions and 93 deletions

View File

@@ -4,9 +4,11 @@
### Changes
- refactorings #3026
- move messages in batches #3058
### Fixes
- avoid archived, fresh chats #3053
- treat "NO" IMAP response to MOVE and COPY commands as an error #3058
## 1.75.0