diff options
author | Reto Brunner <reto@labrat.space> | 2019-10-09 09:46:01 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-10-14 10:38:05 -0400 |
commit | 48a88fe44f617585050e7640a687a82bc5623970 (patch) | |
tree | e9efa62bf4499e90c07808dcb538ec3e1fcaa2d4 /lib/msgstore.go | |
parent | 03d182ca88329db778e6d271e44b480223f31807 (diff) | |
download | aerc-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/msgstore.go')
-rw-r--r-- | lib/msgstore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go index 071a504..56d9eda 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{ |