aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/worker.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2023-06-21 22:13:04 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-22 10:55:25 +0200
commit626d118a31d6cb36900e67b93d535434aea75cb3 (patch)
tree445b473f62e1d629b94fb4bdc347803d352aa2a6 /worker/imap/worker.go
parent822bd3620a456fefcdb828f2768c0677e4442f05 (diff)
downloadaerc-626d118a31d6cb36900e67b93d535434aea75cb3.tar.gz
imap: add folder-map
Add the folder-map functionality to the imap backend. If the folder-map config option is specified, the folder-map worker middleware is used. Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/worker.go')
-rw-r--r--worker/imap/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index d30140a1..f08c0ec9 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -66,7 +66,7 @@ type IMAPWorker struct {
client *imapClient
selected *imap.MailboxStatus
updates chan client.Update
- worker *types.Worker
+ worker types.WorkerInteractor
seqMap SeqMap
delimiter string