Fetch messages in the order of their INTERNALDATE (#3756)

When a batch of messages is moved from Inbox to DeltaChat folder with a single MOVE command, their
UIDs may be reordered (e.g. Gmail is known for that) which leads to that messages are processed by
receive_imf in the wrong order. But the INTERNALDATE attribute is preserved during a MOVE according
to RFC3501. So, use it for sorting fetched messages.
This commit is contained in:
iequidoo
2022-11-29 13:36:54 -03:00
committed by iequidoo
parent 4d81fa6df5
commit 9b881cdd19
2 changed files with 125 additions and 91 deletions

View File

@@ -15,6 +15,7 @@
- strip leading/trailing whitespace from "Chat-Group-Name{,-Changed}:" headers content #3650
- Assume all Thunderbird users prefer encryption #3774
- refactor peerstate handling to ensure no duplicate peerstates #3776
- Fetch messages in order of their INTERNALDATE (fixes reactions for Gmail f.e.) #3789
## 1.102.0