summary refs log tree commit diff stats
path: root/worker/imap/imap.go
Commit message (Collapse)AuthorAgeFilesLines
* Factor IMAP-specific structs out of UI modelsBen Burwell2019-07-081-0/+75
| | | | | | | Before, we were using several IMAP-specific concepts to represent information being displayed in the UI. Factor these structures out of the IMAP package to make it easier for other backends to provide the required information.
* Use []uint32 instead of imap.SeqSetBen Burwell2019-07-081-0/+13
A sequence-set is an IMAP-specific implementation detail. Throughout the UI, aerc simply operates using lists of opaque identifiers. In order to loosen the coupling between the UI and IMAP in particular, replace most usages of imap.SeqSet with []uint32, leaving the translation to a SeqSet to the IMAP backend as needed.