aboutsummaryrefslogtreecommitdiff
path: root/worker/jmap/directories.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-06-07 00:57:40 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-07 00:57:40 +0200
commitc0f4b2632045b53f08f1c9f6e1b0e56713ec7ba4 (patch)
tree3809035df3baff5e2ff4858895c6158491ad2ff1 /worker/jmap/directories.go
parent9e27c777d4c818dd4a9f265d174686ea988f9955 (diff)
downloadaerc-c0f4b2632045b53f08f1c9f6e1b0e56713ec7ba4.tar.gz
aerc-c0f4b2632045b53f08f1c9f6e1b0e56713ec7ba4.zip
wipjmap
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/jmap/directories.go')
-rw-r--r--worker/jmap/directories.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/jmap/directories.go b/worker/jmap/directories.go
index dbbb521a..71c0a838 100644
--- a/worker/jmap/directories.go
+++ b/worker/jmap/directories.go
@@ -130,6 +130,9 @@ func (w *JMAPWorker) handleCreateDirectory(msg *types.CreateDirectory) error {
if err != nil {
return err
}
+ if msg.Quiet {
+ return nil
+ }
for _, inv := range resp.Responses {
switch r := inv.Args.(type) {
case *mailbox.SetResponse: