mirror of
https://git.sr.ht/~rjarry/aerc
synced 2026-02-17 11:28:16 +01:00
Move the Gmail X-GM-EXT-1 extension handling from the middleware layer directly into the IMAP worker. This simplifies the architecture by removing the gmailWorker middleware wrapper and its associated locking. The XGMExtClient is now a field of the IMAP client struct, initialized alongside other extension clients. Gmail-specific search and filter operations are handled by dedicated methods in xgmext.go that are called directly from the message handlers when the extension is available. Rename xgmext types to be exported (XGMExtClient, ThreadIDSearch, RawSearch) and simplify their methods to work with uint32 UIDs directly, avoiding unnecessary type conversions. Signed-off-by: Robin Jarry <robin@jarry.cc> Reviewed-by: Simon Martin <simon@nasilyan.com> |
||
|---|---|---|
| .. | ||
| xgmext | ||
| liststatus.go | ||