1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-06-15 15:30:20 +02:00
aerc/models
Robin Jarry 1c54bb3a9d models: pad message uids with zeroes
IMAP message UIDs are 32 bits unsigned integers. All other backends use
opaque strings without any specific ordering. The UIDs are used for
ordering only for IMAP.

Pad the integer uids with zeroes when converting them to strings to
ensure ASCII sorting will work as previously.

Fixes: 73dc39c6ee ("treewide: replace uint32 uids with opaque strings")
Reported-by: Fedor Pchelkin <boddah8794@gmail.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Jens Grassel <jens@wegtam.com>
2024-10-03 12:07:00 -05:00
..
models.go models: pad message uids with zeroes 2024-10-03 12:07:00 -05:00
templates.go templates: add a template for forwaded messages 2024-08-20 11:54:34 +02:00