lib/msgstore: fix invalid callback invocation

creating a directory must not invoke the callback, as this is meant for the
completion of the move
This commit is contained in:
Reto Brunner 2019-10-09 09:46:01 +02:00 committed by Drew DeVault
parent 03d182ca88
commit 48a88fe44f
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ func (store *MessageStore) Move(uids []uint32, dest string, createDest bool,
store.worker.PostAction(&types.CreateDirectory{ store.worker.PostAction(&types.CreateDirectory{
Directory: dest, Directory: dest,
Quiet: true, Quiet: true,
}, cb) }, nil) // quiet doesn't return an error, don't want the done cb here
} }
store.worker.PostAction(&types.CopyMessages{ store.worker.PostAction(&types.CopyMessages{