diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-07-16 17:04:14 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-03 22:29:18 +0200 |
commit | 0e09c05937913a938bc4987db2b6d193ed0501bd (patch) | |
tree | 34a54eb15b3bbc2ff507671c7b28f8943cac73df /worker/middleware/foldermapper.go | |
parent | 2fbce2e2c9aa782cc3d99a7232d78876b835e513 (diff) | |
download | aerc-0e09c05937913a938bc4987db2b6d193ed0501bd.tar.gz |
imap: support the Gmail extension (X-GM-EXT-1)
Support the IMAP Gmail extension (X-GM-EXT-1) to fetch all messages for
a given thread. This allows client-side threading to display a full
message thread. Obviously, it requires a Gmail account to work.
The extension is only used when requested in accounts.conf with:
"use-gmail-ext = true" (default: false)
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Tested-by: Tristan Partin <tristan@partin.io>
Diffstat (limited to 'worker/middleware/foldermapper.go')
-rw-r--r-- | worker/middleware/foldermapper.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/middleware/foldermapper.go b/worker/middleware/foldermapper.go index ee57b9c8..ba098191 100644 --- a/worker/middleware/foldermapper.go +++ b/worker/middleware/foldermapper.go @@ -26,6 +26,10 @@ func NewFolderMapper(base types.WorkerInteractor, mapping map[string]string, } } +func (f *folderMapper) Unwrap() types.WorkerInteractor { + return f.WorkerInteractor +} + func (f *folderMapper) incoming(msg types.WorkerMessage, dir string) string { f.Lock() defer f.Unlock() |