aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-10-09 09:46:01 +0200
committerDrew DeVault <sir@cmpwn.com>2019-10-14 10:38:05 -0400
commit48a88fe44f617585050e7640a687a82bc5623970 (patch)
treee9efa62bf4499e90c07808dcb538ec3e1fcaa2d4 /lib
parent03d182ca88329db778e6d271e44b480223f31807 (diff)
downloadaerc-48a88fe44f617585050e7640a687a82bc5623970.tar.gz
lib/msgstore: fix invalid callback invocation
creating a directory must not invoke the callback, as this is meant for the completion of the move
Diffstat (limited to 'lib')
-rw-r--r--lib/msgstore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 071a5042..56d9edad 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -294,7 +294,7 @@ func (store *MessageStore) Move(uids []uint32, dest string, createDest bool,
store.worker.PostAction(&types.CreateDirectory{
Directory: dest,
Quiet: true,
- }, cb)
+ }, nil) // quiet doesn't return an error, don't want the done cb here
}
store.worker.PostAction(&types.CopyMessages{